为什么要签署的android apk文件未在模拟器中运行 [英] Why signed android apk is not running on emulator

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

问题描述

我做了一个机器人项目的签署的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上解决了这一问题。感谢<一href="http://stackoverflow.com/questions/6161931/java-lang-securityexception-when-install-apk/7114575#7114575">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!

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

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