为什么签名的 android apk 不在模拟器上运行 [英] Why signed android apk is not running on emulator

查看:33
本文介绍了为什么签名的 android apk 不在模拟器上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个 android 项目的签名 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]

分辨率是多少?

推荐答案

就我而言,这是因为我在运行 JDK 7 的机器上对其进行了签名.降级到 JDK 6 解决了该问题.感谢 java.lang.SecurityException when install 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!

这篇关于为什么签名的 android apk 不在模拟器上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆