Android Studio启动错误——Error: Activity class {} does not exist.Error while Launching activity...

曾经终败给现在 2023-06-05 11:20 119阅读 0赞

当Android Studio连接数据线安装调试APP时出现如下错误提示:

  1. Error: Activity class {...Activity} does not exist Error while Launching activity

原因:因为android studio认为你的项目还是运行在手机上的,可是你把他卸载掉了,它自然不知道,所以才会出现这种情况。

解决方案:

使用命令adb uninstall com.xx.xxx.xxx(包名)卸载apk,然后重新安装

查看adb命令相关:https://www.cnblogs.com/lkc9/p/11238451.html

转载于:https://www.cnblogs.com/lkc9/p/11262074.html

发表评论

表情:
评论列表 (有 0 条评论,119人围观)

还没有评论,来说两句吧...

相关阅读