错误:安装APK时解析程序包 [英] Error : Parsing the package while installing APK

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

问题描述

我正在尝试通过Yahoo中的电子邮件附件运行Package Installer来安装我的应用.我的手机版本为4.1(Jellybean),所以应该可以,对吗?

但是,我收到一个错误消息,尽管我的AndroidManifest指定的minSdkVersion为1,而手机的更高,但解析程序包还是有问题.

我已经启用了从手机上的Playstore以外的来源安装apk的功能.我想念什么?

解决方案

我收到一条错误消息,说解析软件包时出现了问题.

这是因为您的应用程序与您的设备不兼容.开发人员可能将minSDKVersion值设置为高,并且如果设备API级别低于minSDKVersion,则它会给出解析包错误,或者开发人员将maxSDKVersion设置为低于设备API级别.

例如:如果您的设备是Android 2.2,那么将APK设置为10的开发人员会将minSDKVersion设置为10,那么它将无法在Android 2.2中运行,并且会给出解析包错误;或者,如果您的开发人员将其设置为maxSDKVersion到8,则该应用将无法在Android OS 2.2之上安装,并且如果您尝试安装该应用,则会收到解析包错误.

I'm trying to install my app by running Package Installer from the email attachment in Yahoo. My phone is on version 4.1 (Jellybean), so this should work, right?

However, I get an error saying that there was a problem parsing the package despite the fact that my AndroidManifest specifies a minSdkVersion of 1, and my phone's is higher.

I have enabled installing apk from sources that aren't from the playstore on my phone. What am I missing?

解决方案

I get an error saying that there was a problem parsing the package.

This because your app is not compatible with your device. It might your developer set the minSDKVersion value to high and If your device API level is lower then minSDKVersion then it gives parsing package error or your developer set the maxSDKVersion to lower than your device API level.

For ex : If your device is Android 2.2 then your developer who made the APK set the minSDKVersion to 10 then it wont work in the Android 2.2 and will give the parsing package error or If your developer set the maxSDKVersion to 8 then app won't install above Android OS 2.2 and if you try to install then you will get the Parsing package error.

这篇关于错误:安装APK时解析程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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