Android异常篇 Error:Execution failed for task ‘:app:validateSigningDebug‘.
Posted 彭老希
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android异常篇 Error:Execution failed for task ‘:app:validateSigningDebug‘.相关的知识,希望对你有一定的参考价值。
一、异常提示
Error:Execution failed for task ‘:app:validateSigningDebug’.
Keystore file C:\\Users\\admin\\Desktop\\FuckerFridends\\FuckerFrinds\\dbpyq.jks not found for signing config ‘release’.
二、解决方案
(1)替换Keystore路径
- 点击android studio File-选择ProjectStructure-选择app-选择signing
- 最后直接把Store File里指定的Keystore文件的路径换成自己的Keystore路径(需要自己的签名)
clean一下工程
(2)暴力解决
打开build.gradle(Module:app),把signingConfigs节点注释掉
;再把buildTypes节点改成原始的:
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
去掉签名,再clean运行
以上是关于Android异常篇 Error:Execution failed for task ‘:app:validateSigningDebug‘.的主要内容,如果未能解决你的问题,请参考以下文章
Android异常篇 efore task ‘:app:compileDebugJavaWithJavac‘
Android异常篇 efore task ‘:app:compileDebugJavaWithJavac‘
Android异常篇 Fail to connect to camera service
Android异常篇 Android Studio中R文件丢失,且对应import语句变成灰色
Android异常篇 Error:Execution failed for task ‘:app:validateSigningDebug‘.
Android异常篇 The option setting ‘android.disableResourceValidation=true‘ is experimental and unsupport