gpt4 book ai didi

android - 失败[INSTALL_FAILED_INVALID_APK]

转载 作者:行者123 更新时间:2023-12-03 05:29:11 24 4
gpt4 key购买 nike

当我单击运行一个我刚刚在Android Studio 0.2.10中创建的项目并选择我的Android(通过USB连接并通过USB调试打开)时,出现此错误:

Waiting for device.
Target device: 0123456789ABCDEF
Uploading file
local path: /Users/Rui/AndroidStudioProjects/FirstAppProject/FirstApp/build/apk/FirstApp-debug-unaligned.apk
remote path: /data/local/tmp/rui.firstapp
Installing rui.firstapp
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/rui.firstapp"
pkg: /data/local/tmp/rui.firstapp
Failure [INSTALL_FAILED_INVALID_APK]

有什么想法吗?

最佳答案

我在Android Studio中得到了它,而我所做的全部修复工作都是转到"Build" > "Clean Project",它就可以了。

关于android - 失败[INSTALL_FAILED_INVALID_APK],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60086821/

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