Visual studio can't debug Android Xamarin app

前端 未结 9 836
萌比男神i
萌比男神i 2021-01-17 08:51

I\'ve started with Xamarin and Android using Visual Studio 2013.

When I start debugging the android app, it builds, deploys to device and then debugging in Visual St

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-17 09:26

    This will also happen if you don't have any activity marked as your main launcher activity:

    [Activity(
        ...
        MainLauncher = true,
        ...)]
    public class MainActivity ...
    

    Easy mistake to make if you're shifting code in from a prior project and the prior project is using a splash activity and your new project is not yet doing so.

提交回复
热议问题