آموزش جاوااسکریپت انجمن ها react native مشکل با اجرای برنامه در web storm

برچسب ها: 

در حال نمایش 5 نوشته (از کل 5)
  • نویسنده
    نوشته‌ها
  • #31076 پاسخ
    pouya911
    مشارکت کننده

    استاد مهدی سلام من این مشکل رو خیلی وقته دارم لطفا راهنمای کنید
    FAILURE: Build failed with an exception.

    * What went wrong:
    A problem occurred configuring project ‘:app’.
    > SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 8s
    error Could not install the app on the device, read the error above for details.
    Make sure you have an Android emulator running or a device connected and have
    set up your Android development environment:
    https://facebook.github.io/react-native/docs/getting-started.html
    error Command failed: gradlew.bat app:installDebug. Run CLI with –verbose flag for more details.

    #31077 پاسخ
    reza abaskhanian
    مشارکت کننده

    سلام
    متغییر محلی Android home رو باید بری تعریف کنی برای سیستم
    تو خود مستندات react-native هم هست اینجا
    https://facebook.github.io/react-native/docs/getting-started

    #31115 پاسخ
    pouya911
    مشارکت کننده

    دستتون درد نکنه حالا این ارور رو میده FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ‘:app:installDebug’.
    > com.android.builder.testing.api.DeviceException: No connected devices!

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 16m 47s
    error Could not install the app on the device, read the error above for details.
    Make sure you have an Android emulator running or a device connected and have
    set up your Android development environment:
    https://facebook.github.io/react-native/docs/getting-started.html
    error Command failed: gradlew.bat app:installDebug. Run CLI with –verbose flag for more details.

    2.در ضمن من nox player را به عنوان امولاتور دارم فقط باید باز باشه؟ خود ریاکت روی امولاتور باز برنامه اش رو اجرا میکنه؟

    #31117 پاسخ
    pouya911
    مشارکت کننده

    adb server version (31) doesn’t match this client (40); killing…
    * daemon started successfully
    error: no devices/emulators found

    الان توی امولاتور اجرا میشه اما هم اپ خرابه و هم این ارور بالا رو در محیط وب استورم دارم لطفا راهنمایی کنید

    #31130 پاسخ
در حال نمایش 5 نوشته (از کل 5)
پاسخ به: مشکل با اجرای برنامه در web storm
اطلاعات شما: