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

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

相关文章:

  • 2021-08-01
  • 2021-08-26
  • 2022-01-07
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-07-02
猜你喜欢
  • 2021-11-25
  • 2021-10-26
  • 2022-12-23
  • 2021-05-25
  • 2021-08-17
  • 2022-12-23
相关资源
相似解决方案