android - 任务“:app:validateSigningRelease”执行失败。> 密钥库文件 appfoldeer\android\app\key.jks>' 未找到用于签署配置 'release'
问题描述
我到处搜索,但我没有在 vs 代码中找到任何关于颤振的解决方案。
1-> 我有存储在C:\Users\username\Desktop\appfolder\android\app\key.jks
中的释放签名密钥
2-> 我在 android 文件夹中有 key.properties 文件,如\android\key.properties
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\Users\username\Desktop\aapfolder\android\app\key.jks>' not found for signing config 'release'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 29s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done 151.0s (!)
Gradle task bundleRelease failed with exit code 1
我在哪里错了请帮忙。
解决方案
您需要使用 keytool 登录您的应用
更多细节请访问官方文档
推荐阅读
- java - 提取多条件的真实部分
- python - Python中的线段绘图
- python - PyQt5 中的 Mayavi 集成可能吗?
- javascript - html输出标签不显示输出
- python - 在安装 django 后立即在 pipenv shell 中:调用 manage.py 并获得“No module named 'django'”
- php - SWITCH 案例的 PHP 替代文本
- pdf - 为什么嵌入到 PDF 中的 JPEG 呈现与原始文件略有不同?
- javascript - TableRow Material-UI 之间的间距
- javascript - 无法将输入元素传递给函数以获取数据属性
- java - 从另一个活动返回后防止recyclerview重新加载