一般表现是打包最后一步会等待超长时间,最后报错,错误信息: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8FAILURE: Build failed with an exception.*What went wrong: A problem occurred configuring root project'Gradle'.> Could not resolve all artifactsforconfiguration':classpath'.> Could not downlo...
又出现了这样的问题。 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'gradleOut'. > Failed to notify project evaluation listener. > org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V * Try: Run with --sta...
点击Log 中 FAILURE: Build failed with an exception 在*What went wrong 的小节,我找到了 com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\liqui\.android\debug.keystore": Invalid keystore format 解决方案是,直接进入它给的目录,删除keystore 如...
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugGoogleServices'. > No matching client found for package name 'com.xx.xxx.xxxxx' * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get mo...
FAILURE:Build failedwithan exception.*What went wrong:Execution failedfortask':launcher:processReleaseResources'.>Android resource linking failed D:\XXXX\项目名称\Temp\gradleOut\launcher\build\intermediates\merged_manifests\release\AndroidManifest.xml:39:AAPT:error:unexpected element<queries>foundin<manifest...
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'gradleOut'. > Could not resolve all files for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:2.1.0. ...
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':checkReleaseDuplicateClasses'. > 1 exception was raised by workers: java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class androidx.annotation.AnimRes found in modules androidx.annotation.annotat...
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:transformDexArchiveWithExternalLibsDexMergerForRelease'. > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'gradleOut'. > Could not resolve all files for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:2.1.0. ...
FAILURE: Build failed with an exception. Where: Build file 'C:\WorkStation\TestAPI\Temp\gradleOut\launcher\build.gradle' line: 1 What went wrong: A problem occurred evaluating project ':launcher'. Failed to apply plugin [id 'com.android.internal.version-check'] ...