Error: Activity class {} does not exist.Error while Launching activity
Causes
When prompted, this error is usually caused by the so-called “dual space” mobile phone. For example, my Huawei meta20x has a privacy space:
I use my index finger to unlock space 1
Unlock with middle finger and enter space 2
So when we delete the app of space 1, the app of space 2 is not completely deleted. There is an old mainactivity
. When we restart debugging, a new mainactivity
is added, causing duplication. If the system does not know which entry to choose, this error is reported
Solutions
Direct control panel tapping instruction:
adb uninstall app nam
Similar Posts:
- Error running app: Default Activity Not Found
- Git clone error not found [How to Solve]
- Ubuntu Error: Invalid or corrupt jarfile xxx.jar [How to Solve]
- [Solved] The activity must be exported or contain an intent-filter
- [Solved] Error type 3 Error: Activity class {com.example.xxxxxx/com.example.xxxx.MainActivity} does not exist
- At 00:00 every day, MySQL regularly pops up a taskeng.exe
- Android Studio 3 Error Message: The activity must be exported or contain an intent-filter
- Insufficient space for shared memory file [How to Solve]
- Installing Ubuntu 16.04 on XPS 13
- Fragment not attached to Activity [How to Solve]