محمد
5 سال پیش توسط محمد مطرح شد
1 پاسخ

خطا در زمان اجرای دستور react native run android

با سلام
من در زمانی که دستور react-native run-android را اجرا میکنم خطای زیر را دریافت میکنم

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'MyApp'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find protos.jar (com.android.tools.analytics-library:protos:۲۶.۱.۴).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven۲/com/android/tools/analytics-library/protos/۲۶.۱.۴/protos-۲۶.۱.۴.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 ۰s
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

ممنون میشم اگر راهنمایی کنید مشکل از کجا میتونه باشه


ثبت پرسش جدید
arazsalmasi
@araz2salmasi 5 سال پیش مطرح شد
0

یک بار با اندروید استودیو بیلد بگیرید و ایراد رو بهتون نشون میده که از چیه و میتونید رفع کنید
احتمالا به این کتابخونه یه مشکلی داره


برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام