Android:无法解析 Galaxy 选项卡中的包

发布于 2024-12-23 14:53:58 字数 141 浏览 4 评论 0原文

我制作了一个示例应用程序并将其安装在 Galaxy 选项卡中。当我打开应用程序时,它显示“解析包时出现问题”,我看不到任何错误。我可以在模拟器中运行 apk,它工作正常。我已搜索论坛,但我没有找到相关的答案。请建议我一个解决方案来解决此问题。

提前致谢

I have made a sample application and installed it in Galaxy tab.When i open the application it says "There is a problem parsing the package" and i cannot see any errors.I can run the apk in the emulator and it works fine.I have searched it forums but i didn't find the answers relevant.Please suggest me a solution to fix this issue.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

丶视觉 2024-12-30 14:53:58

我假设您编译了一个软件包,其软件包名称与手机上已安装的软件包名称相同。

否则,或者您没有使用密钥正确签署软件包。

其中任何一个听起来可能吗?

I would assume you compiled a package with the same package name as one already installed on the phone.

That, or you haven't signed the package properly with a key.

Do either of those sound possible?

岁月蹉跎了容颜 2024-12-30 14:53:58

这是因为您的应用与您的设备不兼容。您可能将 minSDKVersion 值设置为高,如果您的设备 API 级别低于 minSDKVersion,则会出现解析包错误,或者您将 maxSDKVersion 设置为低于您的设备 API 级别。

例如:如果您的设备是 Android 2.2,那么您将 APK 设置为 10,那么它将无法在 Android 2.2 中工作,并且会给出解析包错误,或者如果您将 maxSDKVersion 设置为 8,那么应用程序将无法安装在 Android 之上OS 2.2,如果您尝试安装,您将收到解析包错误。

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

For ex : If your device is Android 2.2 then you 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 you 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文