1

我正在使用Windows 10机器上的Visual Studio 2015学习Xamarin.Forms。当我创建Xamarin.Forms(Android/iOS)跨平台项目并启动AVD时,仿真程序可以正常工作,但应用程序无法打开。我在Visual Studio中没有收到错误。Xamarin.Forms - 应用程序无法打开

Logcat Error

这只是一个测试:

 public App() 
    { 
     // The root page of your application 
     MainPage = new ContentPage 
     { 
      Content = new StackLayout 
      { 
       VerticalOptions = LayoutOptions.Center, 
       Children = { 
        new Label { 
         HorizontalTextAlignment = TextAlignment.Center, 
         Text = "Welcome to Xamarin Forms!" 
        } 
       } 
      } 
     }; 
    } 
+0

你能提供实际的代码吗? – pagep

+0

这是一个vs模板应用程序。 –

+0

您是否尝试在真实设备上部署您的应用程序?有时候我遇到了同样的问题,但是有一个真实的设备在工作 – Enrico

回答

0

了很多努力更新我的Android SDK工具和所有再次开始工作,THX大家以后。版本25.2.3。

相关问题