"解析错误:这里有一个问题解析包"在安装Android应用程序 [英] "Parse Error : There is a problem parsing the package" while installing Android application

查看:257
本文介绍了"解析错误:这里有一个问题解析包"在安装Android应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装Android应用程序得到这个错误(解析错误:有一个问题解析包)。我做了以下的步骤。

I got this error while installing the android application (Parse Error : There is a problem parsing the package.). I did the following steps.

  1. 我第一次安装的应用程序,它工作正常。

  1. First time I installed the application and it works fine.

我修改了现有的应用程序并没有改变清单文件中的版本。

I made changes to the existing application and change the version no in Manifest file.

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.openintents.samples.BasicOpenARDemo" android:versionCode="2" android:versionName="1.0.1">

  • 然后我导出应用程序,并完成code签名过程。 为此,右键单击您的项目节点>选择导出。在那里,你会看到一个向导。按照步骤,完成code签约也。

  • Then I export the application and finish the code signing process. For this, Right Click your Project node > select Export. There you will see a wizard. Follow the steps and finish the code signing also.

    我得到了ARDemo.apk文件,然后,我改变了它的名字ARDemo1.apk

    I got the ARDemo.apk file, Then I changed it’s name to ARDemo1.apk

    然后,我运这个apk文件到手机的SD卡,开始我安装上述错误。

    Then I shipped this apk file to mobiles SD Card and started the installation I got the above error.

    我GOOGLE了,他们说,问题解包清单文件。

    I googled, they say that problem with unpacking manifest file.

    谁能告诉我,这可能是我错了?

    Can anyone tell me what could be wrong with me?

    推荐答案

    您说,您安装应用程序的第一次工作得很好。

    You said that the first time you installed the application it worked fine.

    在你列出的两个版本之间的步骤中的唯一区别是:

    The only difference in the steps you outlined between the two versions are:

    1. 版本号(我承担 这不参加 打破任何东西)
    2. 的code
    3. 中的.apk文件的名称
    1. The version number (I'm assume that this did not participate in breaking anything)
    2. The code
    3. The name of the .apk file

    尝试重命名ARDemo1.apk文件恢复到ARDemo.apk(请务必备份旧版本),看看有没有什么帮助。我的猜测是,它有什么做的APK的名称。

    Try renaming the ARDemo1.apk file back to ARDemo.apk (make sure to back up the older version) and see if that helps. My guess is that it has something to do with the name of the apk.

    如果它仍然无法正常工作,那么你就可以消除的apk文件作为问题的根源的名称,并开始调查2)通过重建旧版本,看看是否再有同样的问题。如果问题不与旧的code再重建的版本存在,你知道它必须是与你的code。

    If it still does not work, then you can eliminate the name of the apk file as the source of the problem and start investigating 2) by rebuilding your old version and see if you have same problem again. If the problem does not exists with the rebuilt version of your old code then you know it must be something to do with your code.

    我希望得到你的地方。

    干杯, 约瑟夫

    这篇关于&QUOT;解析错误:这里有一个问题解析包&QUOT;在安装Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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