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

The following error occurs when a data line connected Android Studio installation APP:

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

The reason: because the android studio think your project is running on the phone, but you put him uninstall, and it naturally does not know, thus giving rise to this case.

solution:

Uninstall using the command adb  com.xx.xxx.xxx (package name) uninstall apk, then reinstall

View command adb related: https://www.cnblogs.com/lkc9/p/11238451.html

Guess you like

Origin www.cnblogs.com/lkc9/p/11262074.html