简体   繁体   English

android安装apk问题

[英]Installing apk problem in android

I'm using Samsung Galaxy POP.我正在使用三星 Galaxy POP。 Android version 2.2 Froyo. Android 2.2 版 Froyo。 I'm new to android programming.我是 android 编程的新手。 I was too much exited to install Mid3D demo on my phone and see it before I think ahead with it.我太兴奋了,无法在手机上安装 Mid3D 演示并在我考虑之前先看到它。

the link is here http://code.google.com/p/min3d/downloads/detail?name=min3dSampleProject1_020.apk&can=2&q=链接在这里http://code.google.com/p/min3d/downloads/detail?name=min3dSampleProject1_020.apk&can=2&q=

but when ever I use this但是当我使用这个时

>adb install [Mid3D apk file name]

an error occurs like:发生错误,例如:

1052 KB/s (1688402 bytes in 1.566s)
        pkg: /data/local/tmp/min3dSampleProject1_020.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

I'm using Windows 7.我正在使用 Windows 7。

Any idea to solve this?有什么办法解决这个问题吗?

That APK is indeed not signed.该 APK 确实没有签名。 You need to sign it to be able to install it, or just get the sample project source and build it with Eclipse.您需要对其进行签名才能安装它,或者只需获取示例项目源并使用 Eclipse 构建它。 That will automatically generate a test certificate and sign the APK, so you can try it out.这将自动生成一个测试证书并对 APK 进行签名,因此您可以尝试一下。

Did you try google?你试过谷歌吗? I found lots of posts when searching for "Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]".我在搜索“失败 [INSTALL_PARSE_FAILED_NO_CERTIFICATES]”时发现了很多帖子。 It's probably because that APK is not signed.这可能是因为该 APK 未签名。 Some phones restrict the installation of foreign, unsigned APK's.一些手机限制安装外来的、未签名的 APK。

I think there is a setting to allow non-Market apks in Menu > Settings > Applications > Unknown Sources.我认为菜单 > 设置 > 应用程序 > 未知来源中有一个允许非市场 apk 的设置。

Here , here , and here are some links from Google after a search. 这里这里这里是谷歌搜索后的一些链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM