gpt4 book ai didi

android - 无法将 Android 应用程序上传到设备(陈旧的 dexed jar)

转载 作者:行者123 更新时间:2023-12-02 06:53:39 25 4
gpt4 key购买 nike

我正在使用 Android Studio 开发此应用程序,今天当我尝试将其上传到我的设备进行测试时,我收到一个弹出窗口,显示:

Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error). In order to proceed, you have to uninstall the existing application.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

它给出了两个选项,“确定”或“取消”。单击“确定”后,“运行”选项卡中将显示以下消息:

DEVICE SHELL COMMAND: pm uninstall my.bundle.id
Unknown failure

该应用程序似乎已被卸载,在“管理应用程序”下没有任何痕迹。
我无法上传该应用程序。我尝试清理项目并重建,但没有成功。

我能做什么?

最佳答案

我在 Android Studio 中也遇到过这个问题,从版本 2.0 Preview 6 一直到 2.0 Beta 3,这里提到的解决方案都不适合我。

结果发现它与 Instant Run 无关。我所要做的就是增加 AVD 的内部存储空间,直到以下通知消失。更改值后我还必须执行数据删除。

enter image description here

关于android - 无法将 Android 应用程序上传到设备(陈旧的 dexed jar),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25493310/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com