Regarding the question "no application is installed on your mobile phone" in the Android system

Source: Internet
Author: User

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 = "" 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.