简体   繁体   中英

multiple apps getting installed in android

I created an app that includes more than one layout. And I made a java file for each of those layout. When I run the application in emulator an app for each layout are individually being created. But I could navigate well as I have instructed in the code.

What could be the reason for this? How to let them come under one single application?

You probably have <category android:name="android.intent.category.LAUNCHER" /> set for all your activities in AndroidManifest.xml . Remove this line for every activity you do not want to show up in the launcher.

change to

if that does not work we'll need to see the manifest... it could also be that you have created these activities in different packages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM