Android Error type 3 : Activity Class {} does not exist

I used Android Studio 3.5.3 to execute(install) an application on a Sony cellphone and it kept displayed Error Type 3 : xxxx.xxx.xxx.MainActivity does not exist.

After Googled a few document, here’s what solved this problem.

Just adb unstall the package name (as example)

$ cd /Users/username/Library/Android/sdk/platform-tools
$ ./adb uninstall com.example.yourapp

This entry was posted in Android, Android development and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *