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

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

 

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