问题:由于某些手机调试中需要卸载,但是手动卸载后重新run,报错
Error while executing: am start -n ".../...LoginActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=.../....LoginActivity }
Error type 3
Error: Activity class {.../...LoginActivity} does not exist.
Error while Launching activity
解决方案:
运行—>cmd—>adb uninstall 包名