Two app icons appear after Android apk runs

Source: Internet
Author: User

An careless, running apk appears with two app icons, and clicking on a different app icon will open a different activity, but if you uninstall any one, two apps will be uninstalled at the same time.

Encounter this question very puzzled, déjà vu feeling, but forgetful I easily forget what is going on, take advantage of this time remember to make a record:

The problem is critical in the manifest file manifest file. In addition to the main part of the project there are imported libraries, namely the library. Re-Pour the process of its own project has a manifest file, in this case if you set the Startup item launcher, run the entire project will appear two app icon problem.

Workaround: Check whether the manifest file in the application's library file contains the launcher code, comment out the code is OK, run again there will be no two app icon issue.

Two app icons appear after Android apk runs

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: info-contact@alibabacloud.com 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.