Android的 - 如何安装在设备上签署APK? [英] Android - How to install signed APK on device?
问题描述
我在preparation发布我的签约APK到Android Market的最后阶段。在谷歌的文档的他们说:
10。测试你的编译并签名的申请
在你发布你的编译的应用程序,你应该彻底其目标移动设备上进行测试(与目标网络,如果可能的话)。的
所以,我有我的编译,发布签名,zipaligned APK准备投放市场。我如何得到它放到我的手机来测试它?
显然,我不能简单地我的Eclipse项目加载到手机(因为我一直在开发过程中这样做),因为它加载调试签订APK文件已通过签署历程,是APK代替准备上传到Android Market。
解决方案尝试 ADB安装MyApp.apk
从你./bin文件夹壳,而电话连接
如果您遇到因证书错误的问题,您应该亚行卸载your.package.id
安装新包之前运行。
I'm in the final stages of preparation for publishing my signed APK to the Android Market. In Google's doc's they say:
10. Test your compiled and signed application
Before you release your compiled application, you should thoroughly test it on the target mobile device (and target network, if possible).
So I have my compiled, release-signed, zipaligned APK ready to put on the Market. How do I get it onto my phone to test it?
Obviously, I can't simply load up my Eclipse project onto the phone (as I've been doing during development) because it loads the debug-signed APK file instead of the APK that has gone through the signing process and is ready to upload to the Android Market.
Try adb install MyApp.apk
in a shell from your ./bin folder while the phone is attached to USB.
If you experience problems due to certificate errors, you should run adb uninstall your.package.id
before installing the new package.
这篇关于Android的 - 如何安装在设备上签署APK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!