آموزش جاوااسکریپت › انجمن ها › react native › عدم ساختن اپ روی امولاتور
برچسب ها: عدم ران شدن برنامه
- این موضوع 3 پاسخ، 2 کاربر را دارد و آخرین بار در 4 سال، 5 ماه پیش بدست مهدی حسن زاده بهروزرسانی شده است.
-
نویسندهنوشتهها
-
pejmanradمشارکت کننده
سلام من برنامه رو با react-native init ProjName ساختم و حالا میخوام خروجی رو رو امولاتورم نصب کنه و ببینم و کد زیر رو هم میزنم
react-native run-android
ولی برناامه نصب نمیشه و ارور میدهFAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project ‘RNE’.
> Could not resolve all artifacts for configuration ‘:classpath’.
> Could not find gradle.jar (com.android.tools.build:gradle:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.0/gradle-3.4.0.jar
> Could not find builder.jar (com.android.tools.build:builder:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.4.0/builder-3.4.0.jar
> Could not find shared.jar (com.android.tools.analytics-library:shared:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.4.0/shared-26.4.0.jar
> Could not find sdk-common.jar (com.android.tools:sdk-common:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.4.0/sdk-common-26.4.0.jar
> Could not find ddmlib.jar (com.android.tools.ddms:ddmlib:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/26.4.0/ddmlib-26.4.0.jar
> Could not find sdklib.jar (com.android.tools:sdklib:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/26.4.0/sdklib-26.4.0.jar
> Could not find layoutlib-api.jar (com.android.tools.layoutlib:layoutlib-api:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/26.4.0/layoutlib-api-26.4.0.jar
> Could not find dvlib.jar (com.android.tools:dvlib:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/26.4.0/dvlib-26.4.0.jar
> Could not find repository.jar (com.android.tools:repository:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/repository/26.4.0/repository-26.4.0.jar
> Could not find common.jar (com.android.tools:common:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/common/26.4.0/common-26.4.0.jar
> Could not find jetifier-processor.jar (com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-processor/1.0.0-beta04/jetifier-processor-1.0.0-beta04.jar
> Could not find bundletool.jar (com.android.tools.build:bundletool:0.7.2).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.7.2/bundletool-0.7.2.jar
> Could not find jetifier-core.jar (com.android.tools.build.jetifier:jetifier-core:1.0.0-beta04).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-core/1.0.0-beta04/jetifier-core-1.0.0-beta04.jar
> Could not find protos.jar (com.android.tools.analytics-library:protos:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.4.0/protos-26.4.0.jar
> Could not find builder-model.jar (com.android.tools.build:builder-model:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.4.0/builder-model-3.4.0.jar
> Could not find apkzlib.jar (com.android.tools.build:apkzlib:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/apkzlib/3.4.0/apkzlib-3.4.0.jar
> Could not find apksig.jar (com.android.tools.build:apksig:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.4.0/apksig-3.4.0.jar
> Could not find annotations.jar (com.android.tools:annotations:26.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.4.0/annotations-26.4.0.jar
> Could not find databinding-common.jar (androidx.databinding:databinding-common:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-common/3.4.0/databinding-common-3.4.0.jar
> Could not find baseLibrary.jar (com.android.databinding:baseLibrary:3.4.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.4.0/baseLibrary-3.4.0.jar* 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 3s
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.اصلا نمیدونم چشه
لطفا راهنمایی کنیدمهدی حسن زادهمدیرکلسلام.لطفا از یکی از روش های دور زدن تحریم استفاده کنید و مجددا دستور رو اجرا کنید.مطممئن شوید که اینترنت وصل باشد
pejmanradمشارکت کنندهبا فیلتر شکن رفتن
با سایت shecan هم رفتم ولی جواب همین بودمهدی حسن زادهمدیرکلاز v*n اختصاصی استفاده کنید
-
نویسندهنوشتهها