یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دوره‌ها

استفاده از تخفیف‌ها
ثانیه
دقیقه
ساعت
روز
mehdihaykar
3 سال پیش توسط mehdihaykar مطرح شد
1 پاسخ

ارور هنگام ران کردن پروژه ی فلاتر در اندروید استودیو

سلام و عرض ادب
اولین پروژه رو که می خواستم تو اندروید استودیو ران کنم خطای زیر رخ داده . راه حل چیه ؟؟؟

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find gradle-7.1.2.jar (com.android.tools.build:gradle:7.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.1.2/gradle-7.1.2.jar
   > Could not find lint-model-30.1.2.jar (com.android.tools.lint:lint-model:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-model/30.1.2/lint-model-30.1.2.jar
   > Could not find builder-7.1.2.jar (com.android.tools.build:builder:7.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/7.1.2/builder-7.1.2.jar
   > Could not find ddmlib-30.1.2.jar (com.android.tools.ddms:ddmlib:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/30.1.2/ddmlib-30.1.2.jar
   > Could not find bundletool-1.8.0.jar (com.android.tools.build:bundletool:1.8.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/1.8.0/bundletool-1.8.0.jar
   > Could not find layoutlib-api-30.1.2.jar (com.android.tools.layoutlib:layoutlib-api:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/30.1.2/layoutlib-api-30.1.2.jar
   > Could not find android-device-provider-ddmlib-proto-30.1.2.jar (com.android.tools.utp:android-device-provider-ddmlib-proto:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-device-provider-ddmlib-proto/30.1.2/android-device-provider-ddmlib-proto-30.1.2.jar
   > Could not find android-device-provider-gradle-proto-30.1.2.jar (com.android.tools.utp:android-device-provider-gradle-proto:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-device-provider-gradle-proto/30.1.2/android-device-provider-gradle-proto-30.1.2.jar
   > Could not find android-test-plugin-host-additional-test-output-proto-30.1.2.jar (com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-additional-test-output-proto/30.1.2/android-test-plugin-host-additional-test-output-proto-30.1.2.jar
   > Could not find android-test-plugin-host-coverage-proto-30.1.2.jar (com.android.tools.utp:android-test-plugin-host-coverage-proto:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-coverage-proto/30.1.2/android-test-plugin-host-coverage-proto-30.1.2.jar
   > Could not find android-test-plugin-host-retention-proto-30.1.2.jar (com.android.tools.utp:android-test-plugin-host-retention-proto:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-retention-proto/30.1.2/android-test-plugin-host-retention-proto-30.1.2.jar
   > Could not find android-test-plugin-result-listener-gradle-proto-30.1.2.jar (com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-result-listener-gradle-proto/30.1.2/android-test-plugin-result-listener-gradle-proto-30.1.2.jar
   > Could not find builder-model-7.1.2.jar (com.android.tools.build:builder-model:7.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/7.1.2/builder-model-7.1.2.jar
   > Could not find dvlib-30.1.2.jar (com.android.tools:dvlib:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/30.1.2/dvlib-30.1.2.jar
   > Could not find common-30.1.2.jar (com.android.tools:common:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/common/30.1.2/common-30.1.2.jar
   > Could not find transform-api-2.0.0-deprecated-use-gradle-api.jar (com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
   > Could not find jetifier-processor-1.0.0-beta09.jar (com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-processor/1.0.0-beta09/jetifier-processor-1.0.0-beta09.jar
   > Could not find jetifier-core-1.0.0-beta09.jar (com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-core/1.0.0-beta09/jetifier-core-1.0.0-beta09.jar
   > Could not find protos-30.1.2.jar (com.android.tools.analytics-library:protos:30.1.2).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/30.1.2/protos-30.1.2.jar
   > Could not find core-proto-0.0.8-alpha07.jar (com.google.testing.platform:core-proto:0.0.8-alpha07).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/google/testing/platform/core-proto/0.0.8-alpha07/core-proto-0.0.8-alpha07.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 18s
Exception: Gradle task assembleDebug failed with exit code 1

ثبت پرسش جدید
امید اصلانی
تخصص : برنامه نویس
@1omidw 3 سال پیش مطرح شد
0

چه پکیج هایی نصب کردی روی پروژه؟


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

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