简体   繁体   中英

Two apps for the same Xamarin.Forms project deploy to android

When I deploy the Xamarin.Forms app to my physical device or emulator, if it is from Visual Studio, it shows two apps, one with .android extension. When I deploy it from the Microsoft App center, It deploys one apk file and installs two apps. See the below image.
在此处输入图像描述
It happened after I added the app icon and splash activity.

Since you added SplashActivity.cs , it has MainLauncher = true , so now you need to set MainLauncher = false in your MainActivity.cs

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