آموزش جاوااسکریپت › انجمن ها › react native › مشکل با اجرای برنامه در web storm
برچسب ها: Run
- این موضوع 4 پاسخ، 3 کاربر را دارد و آخرین بار در 4 سال، 1 ماه پیش بدست مهدی حسن زاده بهروزرسانی شده است.
-
نویسندهنوشتهها
-
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.reza abaskhanianمشارکت کنندهسلام
متغییر محلی Android home رو باید بری تعریف کنی برای سیستم
تو خود مستندات react-native هم هست اینجا
https://facebook.github.io/react-native/docs/getting-startedpouya911مشارکت کنندهدستتون درد نکنه حالا این ارور رو میده 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 را به عنوان امولاتور دارم فقط باید باز باشه؟ خود ریاکت روی امولاتور باز برنامه اش رو اجرا میکنه؟
pouya911مشارکت کنندهadb server version (31) doesn’t match this client (40); killing…
* daemon started successfully
error: no devices/emulators foundالان توی امولاتور اجرا میشه اما هم اپ خرابه و هم این ارور بالا رو در محیط وب استورم دارم لطفا راهنمایی کنید
مهدی حسن زادهمدیرکلemulator شما رو نمیشناسه ترجیحا از یک device واقعی استفاده کنید
https://reactapp.ir/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%D9%87%D8%A7%DB%8C-react-native-%D8%B1%D9%88-%D8%B1%D9%88%DB%8C-%D9%85%D9%88%D8%A8%D8%A7%DB%8C%D9%84-%D8%AA%D8%B3%D8%AA-%D9%88/ -
نویسندهنوشتهها