error while generating signed apk init
error while generating signed apk init
Hey i am trying to generate signed apk to upload to the store and i keep getting this error:
Error:FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':android:lintVitalRelease'.
Could not resolve all files for configuration ':android:lintClassPath'.
Could not resolve com.android.tools.external.com-intellij:intellij-core:26.1.0.
Required by:
project :android > com.android.tools.lint:lint-gradle:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0 > com.android.tools.lint:lint-checks:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0 > com.android.tools.lint:lint-kotlin:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0 > com.android.tools.lint:lint-checks:26.1.0 > com.android.tools.lint:lint-api:26.1.0
Could not resolve com.android.tools.external.com-intellij:intellij-core:26.1.0.
Could not get resource 'https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.1.0/intellij-core-26.1.0.pom'.
Could not GET 'https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.1.0/intellij-core-26.1.0.pom'. Received status code 500 from server:
Could not resolve com.android.tools.external.org-jetbrains:uast:26.1.0.
Required by:
project :android > com.android.tools.lint:lint-gradle:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0 > com.android.tools.lint:lint-checks:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0 > com.android.tools.lint:lint-kotlin:26.1.0
project :android > com.android.tools.lint:lint-gradle:26.1.0 > com.android.tools.lint:lint:26.1.0 > com.android.tools.lint:lint-checks:26.1.0 > com.android.tools.lint:lint-api:26.1.0
Could not resolve com.android.tools.external.org-jetbrains:uast:26.1.0.
Could not get resource 'https://jcenter.bintray.com/com/android/tools/external/org-jetbrains/uast/26.1.0/uast-26.1.0.pom'.
Could not GET 'https://jcenter.bintray.com/com/android/tools/external/org-jetbrains/uast/26.1.0/uast-26.1.0.pom'. Received status code 500 from server:
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 10s
I dont know what to do about it it never happend to me before
1 Answer
1
Try this
buildTypes {
release {
lintOptions {
disable 'MissingTranslation'
checkReleaseBuilds false
abortOnError false
}
minifyEnabled false
signingConfig signingConfigs.release
}
}
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
try Rebuilding or Cleaning the project, if that doesn't work, Invalidate Cache & Restart A.S
– DarShan
7 mins ago