gradle 7.1.3 not found
Ghali01 opened this issue · comments
I can't build apk or run on avd
`FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':workmanager'.
Could not resolve all files for configuration ':workmanager:classpath'.
Could not find gradle-7.1.3.jar (com.android.tools.build:gradle:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.1.3/gradle-7.1.3.jar
Could not find lint-model-30.1.3.jar (com.android.tools.lint:lint-model:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-model/30.1.3/lint-model-30.1.3.jar
Could not find builder-7.1.3.jar (com.android.tools.build:builder:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/7.1.3/builder-7.1.3.jar
Could not find manifest-merger-30.1.3.jar (com.android.tools.build:manifest-merger:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/30.1.3/manifest-merger-30.1.3.jar
Could not find sdk-common-30.1.3.jar (com.android.tools:sdk-common:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/30.1.3/sdk-common-30.1.3.jar
Could not find sdklib-30.1.3.jar (com.android.tools:sdklib:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/30.1.3/sdklib-30.1.3.jar
Could not find repository-30.1.3.jar (com.android.tools:repository:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/repository/30.1.3/repository-30.1.3.jar
Could not find gradle-api-7.1.3.jar (com.android.tools.build:gradle-api:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/7.1.3/gradle-api-7.1.3.jar
Could not find builder-test-api-7.1.3.jar (com.android.tools.build:builder-test-api:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-test-api/7.1.3/builder-test-api-7.1.3.jar
Could not find ddmlib-30.1.3.jar (com.android.tools.ddms:ddmlib:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/30.1.3/ddmlib-30.1.3.jar
Could not find aaptcompiler-7.1.3.jar (com.android.tools.build:aaptcompiler:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/aaptcompiler/7.1.3/aaptcompiler-7.1.3.jar
Could not find aapt2-proto-7.1.3-7984345.jar (com.android.tools.build:aapt2-proto:7.1.3-7984345).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2-proto/7.1.3-7984345/aapt2-proto-7.1.3-7984345.jar
Could not find crash-30.1.3.jar (com.android.tools.analytics-library:crash:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/crash/30.1.3/crash-30.1.3.jar
Could not find tracker-30.1.3.jar (com.android.tools.analytics-library:tracker:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/30.1.3/tracker-30.1.3.jar
Could not find shared-30.1.3.jar (com.android.tools.analytics-library:shared:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/30.1.3/shared-30.1.3.jar
Could not find databinding-compiler-common-7.1.3.jar (androidx.databinding:databinding-compiler-common:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-compiler-common/7.1.3/databinding-compiler-common-7.1.3.jar
Could not find databinding-common-7.1.3.jar (androidx.databinding:databinding-common:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-common/7.1.3/databinding-common-7.1.3.jar
Could not find baseLibrary-7.1.3.jar (com.android.databinding:baseLibrary:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/7.1.3/baseLibrary-7.1.3.jar
Could not find layoutlib-api-30.1.3.jar (com.android.tools.layoutlib:layoutlib-api:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/30.1.3/layoutlib-api-30.1.3.jar
Could not find android-device-provider-ddmlib-proto-30.1.3.jar (com.android.tools.utp:android-device-provider-ddmlib-proto:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-device-provider-ddmlib-proto/30.1.3/android-device-provider-ddmlib-proto-30.1.3.jar
Could not find android-device-provider-gradle-proto-30.1.3.jar (com.android.tools.utp:android-device-provider-gradle-proto:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-device-provider-gradle-proto/30.1.3/android-device-provider-gradle-proto-30.1.3.jar
Could not find android-test-plugin-host-additional-test-output-proto-30.1.3.jar (com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.1.3).
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.3/android-test-plugin-host-additional-test-output-proto-30.1.3.jar
Could not find android-test-plugin-host-coverage-proto-30.1.3.jar (com.android.tools.utp:android-test-plugin-host-coverage-proto:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-coverage-proto/30.1.3/android-test-plugin-host-coverage-proto-30.1.3.jar
Could not find android-test-plugin-host-retention-proto-30.1.3.jar (com.android.tools.utp:android-test-plugin-host-retention-proto:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-retention-proto/30.1.3/android-test-plugin-host-retention-proto-30.1.3.jar
Could not find android-test-plugin-result-listener-gradle-proto-30.1.3.jar (com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.1.3).
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.3/android-test-plugin-result-listener-gradle-proto-30.1.3.jar
Could not find builder-model-7.1.3.jar (com.android.tools.build:builder-model:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/7.1.3/builder-model-7.1.3.jar
Could not find dvlib-30.1.3.jar (com.android.tools:dvlib:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/30.1.3/dvlib-30.1.3.jar
Could not find common-30.1.3.jar (com.android.tools:common:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/common/30.1.3/common-30.1.3.jar
Could not find apkzlib-7.1.3.jar (com.android.tools.build:apkzlib:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/apkzlib/7.1.3/apkzlib-7.1.3.jar
Could not find protos-30.1.3.jar (com.android.tools.analytics-library:protos:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/30.1.3/protos-30.1.3.jar
Could not find signflinger-7.1.3.jar (com.android:signflinger:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/signflinger/7.1.3/signflinger-7.1.3.jar
Could not find zipflinger-7.1.3.jar (com.android:zipflinger:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/zipflinger/7.1.3/zipflinger-7.1.3.jar
Could not find annotations-30.1.3.jar (com.android.tools:annotations:30.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/annotations/30.1.3/annotations-30.1.3.jar
Could not find apksig-7.1.3.jar (com.android.tools.build:apksig:7.1.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/7.1.3/apksig-7.1.3.jar
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':workmanager' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':workmanager' of type org.gradle.api.Project.
- 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 7s
Running Gradle task 'assembleRelease'... 9.2s
Gradle task assembleRelease failed with exit code 1`
flutter doctor output:
`
[√] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version
10.0.22621.1992], locale en-US)
• Flutter version 3.10.5 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 796c8ef792 (7 weeks ago), 2023-06-13 15:51:02 -0700
• Engine revision 45f6e00911
• Dart version 3.0.5
• DevTools version 2.23.1
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at C:\Users\Ghale\AppData\Local\AndroidSdk
• Platform android-33-ext5, build-tools 33.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.6.1)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.6.33717.318
• Windows 10 SDK version 10.0.22000.0
[√] Android Studio (version 2022.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
[√] VS Code (version 1.80.2)
• VS Code at C:\Users\Ghale\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.68.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version
10.0.22621.1992]
• Chrome (web) • chrome • web-javascript • Google Chrome 115.0.5790.110
• Edge (web) • edge • web-javascript • Microsoft Edge 115.0.1901.188
! Device emulator-5554 is offline.
[√] Network resources
• All expected network resources are available.
• No issues found!
`