Android.content.ActivityNotFoundException:Unable to find explicit activity class {com.android.settings/ Com.android.settings.deviceinfo.SoftwareUpdates}; Declared this activity in your androidmanifest.xml?
Currently in the development of Android 5.0 L. Want to add a few sub-menus in the settings, found through the XML file to make the class, you can jump smoothly, but when in the Java code to intent jump, I will appear above such an exception.
Of course, check androidmanifest is configured to the class, and finally found that the reason is: need to androidmanifest add the following line of code to solve the problem.
Android:taskaffinity= "Com.adnroid.settings"
Another 5.0 setting need to delete the cache after each push
The path to the Settings is system/priv-app/settings
Another 5.0 setting need to delete the cache after each push
The path to the Settings is system/priv-app/settings
Cause analysis of android.content.ActivityNotFoundException occurrence