Controls showing in designer but not in emulator

后端 未结 3 1375
野的像风
野的像风 2021-01-15 23:31

This is my first Xamarin app. I have my environment set up in Visual Studio, and have a template project which I can run in the Android emulator.

Having dragged and

3条回答
  •  猫巷女王i
    2021-01-16 00:17

    navigate to MainActivity.cs and uncomment this code

    SetContentView (Resource.Layout.Main);
    

    and rebuild the solution and debug.

    Let me know it if helps!

提交回复
热议问题