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

使用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 'release

原文地址:https://www.cnblogs.com/yelanggu/p/9549231.html

时间: 2024-11-08 18:09:26

AndroidStudio编译error:app:validateReleaseSigning'Keystore file not found for signing config 'release的相关文章

Android学习笔记----Error:Execution failed for task ':app:validateDebugSigning'. > Keystore file F:\myAndroid3\android_s

导入下载的工程出现这个错误,追究其原因是是下载的工程中有指定使用的Keystore文件的路径, 所以我们可以通过Android studio File->ProjectStructure->选择app ,再选择signing 把Store File里指定的Keystore文件的路径删除,或者填写自己的Keystore文件的路径 然后点击ok,再clean下工程即可 Android学习笔记----Error:Execution failed for task ':app:validateDebu

插入图片后R文件变红,报错“Error::app:mergeDebugResources'. > Some file crunching failed, see logs for detail”

本想做一个有爱的小东西,插入图片后发现原本之前运行成功的程序, 出现了报错“:app:mergeDebugResources'. > Some file crunching failed, see logs for detail” 一脸懵逼~~~这是什么鬼,在别人的回答和博客里找找解决办法. 不过对我好像不管用,找了好久才发现是图片的问题. 之前只是简单的在重命名的时候把图片改成“xx.png”,放在了app/src/main/res/drawable文件夹里(ps:目前每次我都是在复制图片再粘

Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for details

Android Studio 编译中断.... Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for details 错误信息如上: 解决方案: drawable里面的图片格式保存不对,Android studio 当编译资源文件的时候(using AAPT(Android Asset Packaging Tool))会抛出异常, 只需要用图片编

编译依赖于React Native0.46.4的React Native IOS工程时,出现错误“fatal error: 'React/RCTEventEmitter.h' file not found”

我的环境: WebStorm 2017.2Build #WS-172.3317.70, built on July 14, 2017 JRE: 1.8.0_152-release-915-b5 x86_64JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.6 Xcode8.3.3(8E3004b) 网上搜索,可以解决我的问题的网址:https://stackoverflow.com/questions/41663002

编译C++,找不到头文件(fatal error: string: No such file or directory)

在androidproject中编译C++时,找不到头文件,报错例如以下: fatal error: string: No such file or directory 解决该问题须要在Android.mk文件里: LOCAL_C_INCLUDES :=  \                 bionic \                 external/stlport/stlport 编译C++,找不到头文件(fatal error: string: No such file or dir

mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found

解决办法 brew link openssl --force 然后 ./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config make sudo make install mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found

Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs f

今天调试安卓程序遇到的问题Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs f 主要是图片格式的问题,图片要用png格式的,直接修改图片格式会报这个错误无法调适 Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see

10.29 工作笔记 ndk编译C++,提示找不到头文件(ndk-build error: string: No such file or directory)

ndk编译C++.提示找不到头文件(ndk-build error: string: No such file or directory) 被这个问题弄得愁眉苦脸啊.心想为啥一个string都找不到呢..于是百度到了. . . 遇到这个问题,就在所在的文件夹 Application.mk 文件里.加入: APP_STL := gnustl_static 就能够找到标准库了! 最后知道真相的我.眼泪掉下来啊!

编译Linux内核时出现错误gcc: error: elf_i386: No such file or directory

LD arch/x86/mm/built-in.o AS arch/x86/vdso/vdso32/int80.o VDSO arch/x86/vdso/vdso32-int80.so.dbggcc: error: elf_i386: No such file or directorymake[2]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1make[1]: *** [arch/x86/vdso] Error 2make: *** [arch