问题描述
我有一个程序在Android模拟器的工作。现在每一次我一直在创造一个签名的apk并将其导出到我的HTC Desire测试。它具有所有被罚款。
I have a program working in the Android Emulator. Every now and again I have been creating a signed .apk and exporting it to my HTC Desire to test. It has all been fine.
在我最新的出口.apk文件时得到未安装应用程序,当我尝试安装apk文件的错误消息。它运行良好的模拟器。
On my latest exported .apk I get the error message 'App not installed' when I try to install the .apk. It runs fine on the emulators.
正如我主要是在测试上的模拟器,只有每一个现在,再出口到真正的电话,我不知道什么时候发生的。这是什么不安装在物理的手机,但在模拟器运行正常?
As I have mainly been testing on the emulators and only every now and again exporting to a real phone I am not sure when this happened. What is the likely cause of it not installing on a physical phone but running fine in the emulators?
我试图重新启动电话和放大器;删除现有.apk文件,并没有修复故障
I have tried rebooting the phone & removing the existing .apk, does not fix fault
感谢
推荐答案
我也有类似的问题,那是因为我是想在手机上安装的APK具有相同的apk的previous版本,并且都APK尚未用相同的证书签名。我的意思是,当我用同样的证书,我就能够覆盖previous安装目录,但是当我改变证书的两个版本之间的安装目录是不可能的。您是否使用了相同的证书?
I had a similar issue and it was because I was trying to install an apk on a phone with a previous version of the same apk, and both apk hadn't been signed with the same certificate. I mean when I used the same certificate I was able to overwrite the previous instalation, but when I changed of certificate between both versions the instalation was not possible. Are you using the same certificate?
这篇关于在Android的应用程序未安装“错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!