问题如下,小白想打一个升级包,在原有的基础上做app升级,需要使用相同的证书指纹,所以只能用之前的这书打包,出现如下错误
Total time: 35.231 secs
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':packageRelease'.
> Failed to read key android from store "D:\WeX5\model\Native\supai\build\src\platforms\android\android.keystore": No key with alias 'android' found in keystore D:\WeX5\model\Native\supai\build\src\platforms\android\android.keystore
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
D:\WeX5\model\Native\supai\build\src\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "D:\WeX5\model\Native\supai\build\src\platforms\android\gradlew cdvBuildRelease -b D:\WeX5\model\Native\supai\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
Error: cmd: Command failed with exit code 1
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html