安装需求(下载的包及版本)
先安装VS2013
然后到官网下Xamarin,运行后会自动下载以下文件
这是下载的详细列表
jdk-6u39-windows-i586.exe(69.73M)
Android sdk 22.0.0
GTK # 2.12.22
Xamarin studio 4.22
Xamarin.Android for Visual Studio and Xamarin studio 4.10.1
Xamarin.iOS for Visual Studio 1.8.365
安装过程
运行XamarinInstaller.exe,按照默认要求安装
注意安装过程中勾选2013插件
安装VS英文语言包【否则报错】
安装后创建默认的安卓项目但无法调试,而且属性无法设置
须在英文界面下运行
VS2013英文语言包下载
http://www.microsoft.com/en-us/download/confirmation.aspx?id=40783
破解
关键是要在VS中先退出登录,然后破解,
要以管理员身份运行,且成功后不要再去登陆
download【http://www.myuplbox.com/file/download/957725】 the crack and:
replace mtouch.exe in C:\Program Files (x86)\MSBuild\Xamarin\iOS
replace mandroid.exe in C:\Program Files (x86)\MSBuild\Xamarin\Android
(6) Use "system administrator mode" to execute "command prompt" and input:
"C:\Program Files (x86)\MSBuild\Xamarin\Android\mandroid.exe" -activate -activation-name=b4a -activation-phone=q -activation-company=b4a -activation-code=q -activation-email=q
"C:\Program Files (x86)\MSBuild\Xamarin\iOS\mtouch.exe" -activate -activation-name=b4a -activation-phone=q -activation-company=b4a -activation-code=q -activation-email=q
"C:\Program Files (x86)\MSBuild\Xamarin\Android\mandroid.exe" -entitlements > %temp%\000.txt 1> %temp%\001.txt 2> %temp%\002.txt
"C:\Program Files (x86)\MSBuild\Xamarin\Android\mandroid.exe" -check >> %temp%\000.txt 1>> %temp%\001.txt 2>> %temp%\002.txt
"C:\Program Files (x86)\MSBuild\Xamarin\iOS\mtouch.exe" -entitlements >> %temp%\000.txt 1>> %temp%\001.txt 2>> %temp%\002.txt
"C:\Program Files (x86)\MSBuild\Xamarin\iOS\mtouch.exe" -check >> %temp%\000.txt 1>> %temp%\001.txt 2>> %temp%\002.txt
and be sure NO WARNINGs or ERRORs in the command prompt.
(7) Use "system administrator mode" to execute VS or Xamarin Studio.