Android Studio 4.0.1 Weird Bug: Launcher Activity Does Not Exist Error (July 2020)

Rick_HK
2 min readJul 20, 2020
Android Studio 4.0.1 July 2020

Android Studio 4.0.1 just came out July 2020 and it has some instability issues. One of which is unable to launch your launcher activity for your project if you uninstalled it on the device.

The error from Android Studio is as below:

Error while executing: am start -n “LauncherActivity” -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Starting: intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=”LauncherActivity”}

Error type 3

Error: Activity class {LauncherActivity} does not exist.

Error while Launching activity

Unable to start the launcher activity

One workaround is to uninstall the app COMPLETELY from the device running below command line on terminal:

adb uninstall <the.package.name>

(Replace the entire <the.package.name> with the actual package name)

Then it should be good to go ;)

That’s it.

Happy coding.

Let me know if you find better solution or approach in the comment section below. ;)

Find me at Twitter @rick3817

--

--

Rick_HK

Hi this is Rick from Hong Kong. I am a native iOS and Android mobile developer and also a tech enthusiast. Find me on Twitter https://twitter.com/rick3817