问题描述
我想生成采用Android Studio中的无符号的版本APK。
I am trying to generate an unsigned release APK using Android Studio.
我的应用程序将不会被签署,而不是分布在店。
My app will not be signed and not distributed on the Store.
在Android的工作室,我去构建变种,我选择我的项目+变化范围=释放。
In Android studio, I go to Build Variants and I select my project + Build Variant = Release.
我运行的发布,Android的Studio生成该文件MY_PROJECT释放-unsigned.apk
I run the release, Android studio generates the file my_project-release-unsigned.apk
不错!但是,当我尝试安装或部署APK,我得到了错误:
Nice! But, when I try to install or deploy the APK, I got the error:
Installation failed since the APK was either not signed, or signed incorrectly.
我不明白为什么我得到这个错误,因为APK已经明确产生的无符号!
I dont understand why I got this error since the APK has been explicitly generated unsigned!
嗯,如果你能告诉我怎么可以设置摇篮生成APK我签名......
Well, if you could tell me how I can setup gradle to generate my APK unsigned....
我是pretty的输了!
I am pretty lost!
推荐答案
每签名您的应用程序:
所有的应用程序的必须签署。该系统将安装在不模拟器的应用程序或设备,如果它没有签名。
这篇关于生成与Android Studio的签名版本APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!