为什么要签署的android apk文件未在模拟器中运行器中、文件、android、apk

2023-09-05 05:15:58 作者:Quilt(被子)

我做了一个机器人项目的签署的apk。每当我的客户端尝试在模拟器上运行它,他将面临以下错误信息:

I have made a signed apk of an android project. Whenever my client try to run it on the emulator, he faces the following error message:

D:\Android\android-sdk-
windows\tools>adb install -r abc.apk
500 KB/s (6940708 bytes in 13.534s)
        pkg: /data/local/tmp/abc.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

什么是分辨率?

What is the resolution?

推荐答案

在我的情况,那是因为我签了一台机器上运行JDK 7降级到JDK 6上解决了这一问题。感谢java.lang.SecurityException当您的建议安装APK !

In my case it was because I signed it on a machine running JDK 7. Downgrading to JDK 6 fixed the problem. Thanks java.lang.SecurityException when install apk for the suggestion!