[Solved] Error type 3 Error: Activity class {com.example.xxxxxx/com.example.xxxx.MainActivity} does not exist

The following errors are reported when your software is installed on the real machine for the second time

Error type 3 Error: Activity class {com.example.xxxxxx/com.example.xxxx.MainActivity} does not exist

Solution:

1. Check whether the package in AndroidManifest.xml and the applicationId in build.grade are consistent (where most of the problems are), modify them and try again after the inconsistency
2. Try to uninstall the original software adb uninstall packagename (replace it with your own)
Sometimes even if you manually uninstall, adb uninstall will still Success, should not be successful uninstall or uninstallation problems, and use pm to see no results at all

 

Similar Posts: