天气冷,先热身,Error: Activity class {} does not exist.Error while Launching activity, Error while executing: am start -n。。。最简单有效解决方法,亲测可用

 

 

1.Androidstudio运行工程直接报错。如下图所示:

 Error: Activity class {} does not exist.Error while Launching activity, Error while executing: am start -n。。。最简单有效解决方法,亲测可用

 

 

 

在网上找个好多方法,都没什么用,最后发现一个最简单有效的方法: 直接打开Terminal,运行 adb uninstall com.xxx.xxx.xxx(包名), 提示: Success,   即成功!!直接重新运行代码,无报错!!!!

Error: Activity class {} does not exist.Error while Launching activity, Error while executing: am start -n。。。最简单有效解决方法,亲测可用

 

相关文章:

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