plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Question]:I recieve this error after adding package and run project

Open AliHVI opened this issue 3 years ago • 1 comments

What is your question?

Could not find lint-30.1.2.jar (com.android.tools.lint:lint:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint/30.1.2/lint-30.1.2.jar Could not find lint-checks-30.1.2.jar (com.android.tools.lint:lint-checks:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/30.1.2/lint-checks-30.1.2.jar Could not find lint-api-30.1.2.jar (com.android.tools.lint:lint-api:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-api/30.1.2/lint-api-30.1.2.jar Could not find intellij-core-30.1.2.jar (com.android.tools.external.com-intellij:intellij-core:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/intellij-core/30.1.2/intellij-core-30.1.2.jar Could not find kotlin-compiler-30.1.2.jar (com.android.tools.external.com-intellij:kotlin-compiler:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/kotlin-compiler/30.1.2/kotlin-compiler-30.1.2.jar Could not find uast-30.1.2.jar (com.android.tools.external.org-jetbrains:uast:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/30.1.2/uast-30.1.2.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 1m 53s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

AliHVI avatar Aug 13 '22 18:08 AliHVI

I think, it's due to slow internet connection, just change your current directory to android/ and run ./gradlew build until it configures and executes 100%. I myself have faced similar issues, but this approach works for me.

saksham-gt avatar Sep 04 '22 05:09 saksham-gt

We need more info for this. Please try to run flutter clean and make sure that you migrated away from jcentre repository in gradle file https://stackoverflow.com/questions/66651640/jcenter-deprecation-impact-on-gradle-and-android .

charafau avatar Oct 07 '22 13:10 charafau

I guess we can close this issue as there is no activity from the user

SirusCodes avatar Oct 22 '22 22:10 SirusCodes

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Jan 21 '23 00:01 github-actions[bot]