AndroidStudio编译error:app:validateReleaseSigning'Keystore file not found for signing config '

亦余心之所善兮,虽九死其犹未悔。这篇文章主要讲述AndroidStudio编译error:app:validateReleaseSigning' Keystore file not found for signing config ' 相关的知识,希望能为你提供帮助。
使用androidStudio编译时提示error:

Error:Execution failed for task ‘:app:validateReleaseSigning’. 
> Keystore file not found for signing config ‘release’.
从字面意思可以看出是要打发布包缺少keystore签名文件,只需要把build.gradle里的一段代码注释掉即可,当然别忘了打发布包时取消注释。
signingConfigs { release { storeFile file("ouman.jks") storePassword "com.ouman.car " keyAlias "ouman" keyPassword "com.ouman.car " } }buildTypes { debug { signingConfig signingConfigs.release } release { signingConfig signingConfigs.release } }

 
【AndroidStudio编译error:app:validateReleaseSigning' Keystore file not found for signing config ' 】是把上面这两段代码全都注释。


    推荐阅读