DebuggingProgramActivitymanager: Java. lang. securityexception: Permission Denial: Starting intent {act = android. intent. action. main cat = [android. intent. category. launcher] flg = 0x10000000 CMP = com. XXXXX. XXXXX /. UI. xxxxxxx} from null (pid =-1, uid =-1) The problem of requires null has plagued me for several days. At first, I thought that the permission was a problem, it has not been solved for a long time.
Later I saw:
The Java. Lang. securityexception you are seeing is because you may enter two entries pointing to same activity. Remove the second one and you shoshould be good to go.
Only then can this activity be found to have written two copies in the manifest file. After removing one copy, the activity can finally run normally.
Note: This problem may also occur. When you click the program icon on the mobile phone end, the system will prompt that the program is not installed on the mobile phone.