sometimes, after we install the prepared APK to the Android system, click the Program icon and the program does not run, the system prompts "no application is installed on your mobile phone". This problem is mostly caused by androidmanifest. XML files are not standardized. This problem occurs when you write an activity more than once, as shown below.
<? XML version = "1.0" encoding = "UTF-8"?> <Manifest xmlns: Android = "http://schemas.android.com/apk/res/android" package = "com. pubinfo. eorder "Android: versioncode =" 1 "Android: versionname =" 1.0 "> <uses-SDK Android: minsdkversion =" 8 "/> <application Android: icon = "@ drawable/icon" Android: Label = "@ string/app_name"> <activity Android: Name = ". main "Android: Label =" @ string/app_name "> <intent-filter> <action Android: Name =" android. intent. action. main "/> <category Android: Name =" android. intent. category. launcher "/> </intent-filter> </activity> <activity Android: Name = ". main "Android: screenorientation =" Landscape "/> </Application> </manifest>
However, some people on the Internet did not add the following two sentences in the portal activity, which caused this problem.
<Action Android: Name = "android. Intent. Action. Main"/> <category Android: Name = "android. Intent. Category. launcher"/>
Record it to help you solve the problem.