آموزش جاوااسکریپت › انجمن ها › react native › جابجا شد: پاسخ به : react-native run-android
- این موضوع 1 پاسخ، 2 کاربر را دارد و آخرین بار در 4 سال، 9 ماه پیش بدست مهدی حسن زاده بهروزرسانی شده است.
-
نویسندهنوشتهها
-
snakeمشارکت کننده
سلام خسته نباشید.دوره اموزش جامع رو خریداری کردم خیلی ممنونم هستم از کیفیت بالا دوره.وقتی با ذستور run -android v رو اجرا می کنکم به همچین مشکلی بر میخورم.ممنون میشم اگه راهنمایی کنید.
Failure: build failed with an exception.
What went wrong:
A problem occurred configuring root project ‘test’.
Could not resolve all artifactsnfor configuration ‘:classpath’.
Could not find com.android.tools.build:gradle:3.2.1.
Searched in the following location:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar
https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar
required by:
project:
try:
run with –stackrace option to get the stack trace.run with –info or –debug option to get more log ouypyt.run –scan to get full insights.
Get more help at https://help.gradle.org
Build failed in 5s
Could not install the app on the device, reed the error sbove for details.
Make sure you have an android emulater running or a device connectednand havr set up yor android development environment:
https://face.book.github.io/react-native/docs/getting-started.html
command fILED: grDLEW.Bat installdebug
error: command failed : gradlew.bat installdebug
at checkexecsyncerror (child_process.js:616:11)
at object.execfilesync (child_process.js:634:13)
at runonalldevices (c:\pro\test\nodemodule\reacy-native\local-cli\runandroid\runandroid.js:299:19)مهدی حسن زادهمدیرکلسلام.این مشکل بخاطر تحریم است.به * شکن یا وی * ان وصل بشید و این دستور را اجرا کنید.یا از سایت shecan.ir استفاده کنید
همچنین میتونید پاسخ های تاپیک زیر را ببینید
https://reactapp.ir/forums/topic/%d8%a7%d8%ac%d8%b1%d8%a7-%d9%86%d8%b4%d8%af%d9%86-react-native-run-android/ -
نویسندهنوشتهها