简体   繁体   English

Eclipse中的INSTALL_PARSE_FAILED_NO_CERTIFICATES错误

[英]INSTALL_PARSE_FAILED_NO_CERTIFICATES error in Eclipse

Hi I have been looking at different post than we on the subject of error in error INSTALL_PARSE_FAILED_NO_CERTIFICATES Eclipse, but I have not yet found the cause and how to fix it. 嗨我一直在寻找不同的帖子,而不是错误的错误主题INSTALL_PARSE_FAILED_NO_CERTIFICATES Eclipse,但我还没有找到原因以及如何解决它。 I attached a screenshot of my Eclipse to see an idea that visual. 我附上了Eclipse的截图,看到了一个可视化的想法。

I have no idea how to fix this. 我不知道如何解决这个问题。

Sign the application for publication in google play, since then, I get this error, it can be? 在谷歌播放中签署申请发布,从那时起,我得到这个错误,它可以吗? I can do? 我可以? because if they lose the project ... 因为如果他们失去了项目......

thank you very much! 非常感谢你!

Capture my eclipse 捕捉我的日食

重复的Android Manifest

首先使用jarsigner签署您的apk ,然后使用adb install -r <apkfile>重新adb install -r <apkfile> (或首先卸载使用适当证书签名的应用程序)

For those with this problem... 对于有这个问题的人......

Select V1 (jar signature) instead of V2 (full apk signature) 选择V1(jar签名)而不是V2(完整的apk签名)

Selecting V2 could also cause this problem. 选择V2也可能导致此问题。 在此输入图像描述

if you got your old appication without the certificat on the device and try to install the new one with a certificat this will be a problem. 如果您在设备上没有证书的情况下获得旧申请,并尝试安装带证书的新申请,这将是一个问题。

uninstall the old one and try it again. 卸载旧的并重新尝试。

For your next problem go to eclipse.ini and change the parameters from -XmsAm and -XmxBm . 对于下一个问题,请转到eclipse.ini并从-XmsAm-XmxBm更改参数。 Yours will be -Xms40m and -Xmx384m set them to -Xms512m and -Xmx512m 你的将-Xms40m-Xmx384m设置为-Xms512m-Xmx512m

I had the same error and was able to fix it in this way: 我有同样的错误,并能够以这种方式修复它:

  1. uninstall the old application 卸载旧的应用程序
  2. clean the project 清理项目
  3. run and reinstall it again 再次运行并重新安装

This is an ugly but fast solution: use JDK 6 instead of 7. So many ppl have experienced problem with jdk 7 . 这是一个丑陋但快速的解决方案:使用JDK 6而不是7.这么多ppl遇到了jdk 7的问题。 Try with jdk 6 尝试使用jdk 6

你的断言,bin,res是不是有效的格式,删除那些文件并再次粘贴在项目中,然后再次清理&&构建项目..可能会给出积极的结果

Most of the time the solution for this error is really simple: As i replied in: What is INSTALL_PARSE_FAILED_NO_CERTIFICATES error? 大多数情况下,此错误的解决方案非常简单:正如我回答: 什么是INSTALL_PARSE_FAILED_NO_CERTIFICATES错误?

  1. Uninstall your apk. 卸载你的apk。
  2. Clean your android project. 清理你的android项目。
  3. Build your android project. 构建你的android项目。
  4. install / run your apk 安装/运行你的apk

Have fun 玩得开心

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

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