Visual Studio 2015 Xamarin deploy fail without any error message

后端 未结 20 856
隐瞒了意图╮
隐瞒了意图╮ 2020-12-18 17:54

I just installed VS 2015, the installation was finish (after some fail time caused by the slow network, I run setup again).

I create a project as Adroid > A

20条回答
  •  天涯浪人
    2020-12-18 18:35

    This worked for me:

    • Making sure that Define DEBUG constant is checked.

    • Using Log.Info("yourTag-AnyString", "Error before/after ");

              protected override void OnCreate(Bundle bundle)
              {
                  base.OnCreate(bundle);
      
                  // Set our view from the "main" layout resource
                  Log.Info(tag, "Error before Layout");
                  SetContentView(Resource.Layout.Main);
      
                  // Get our button from the layout resource,
                  // and attach an event to it
                  //Button button = FindViewById
    • changing emulators or exporting the signed .apk instead

    • For android apps, using android device logging

提交回复
热议问题