!!!!!!!!!!!问题来了!!!!!!!!!! 本人已经安装好VS2015的所有东西,个人认为。 于是我新建了一个空的安卓项目,并且创建了一个模拟器,命名为TryAndroid。 using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS;namespace App4 { [Activity(Label = "App4", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { int count = 1; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); // Get our button from the layout resource, // and attach an event to it Button button = FindViewById<Button>(Resource.Id.MyButton); button.Click += delegate { button.Text = string.Format("{0} clicks!", count++); }; } } }点击F5开始调试,发现模拟器窗口一闪而过。 给出的编译器信息为:1>Build succeeded. 1> 1>Time Elapsed 00:00:05.12 2>Starting emulator: TryAndroid 2>Emulator was closed: TryAndroid 2>Starting cancellation process... Build has been canceled.还请大神帮忙解决。我经验比较少。
网上安装Xamarin,教程。这个用的人少,出问题得自己研究,或者买正版,求官方解答。不过这个价格不便宜。
本人已经安装好VS2015的所有东西,个人认为。
于是我新建了一个空的安卓项目,并且创建了一个模拟器,命名为TryAndroid。
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;namespace App4
{
[Activity(Label = "App4", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
int count = 1; protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle); // Set our view from the "main" layout resource
SetContentView(Resource.Layout.Main); // Get our button from the layout resource,
// and attach an event to it
Button button = FindViewById<Button>(Resource.Id.MyButton); button.Click += delegate { button.Text = string.Format("{0} clicks!", count++); };
}
}
}点击F5开始调试,发现模拟器窗口一闪而过。
给出的编译器信息为:1>Build succeeded.
1>
1>Time Elapsed 00:00:05.12
2>Starting emulator: TryAndroid
2>Emulator was closed: TryAndroid
2>Starting cancellation process...
Build has been canceled.还请大神帮忙解决。我经验比较少。
对啊 墙也翻了,在win7和win10上都试过了 continue之后都没反应了
对啊 墙也翻了,在win7和win10上都试过了 continue之后都没反应了
去下载没有2015后缀的,然后手动下载
对啊 墙也翻了,在win7和win10上都试过了 continue之后都没反应了
去下载没有2015后缀的,然后手动下载关掉杀毒软件 金山毒霸,腾讯软件管家!!!
http://download.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_Setup-3.9.45.msi