Xamarin Mono For Android 4.20 安装、破解

Xamarin Mono For Android 4.20 安装、破解

转载请注明出处,非常感谢,

原文地址:http://hi.baidu.com/hegel_su/item/2b0771c6aaa439e496445252

一、Windows下面的安装

1. 安装环境介绍:

   Win8.1 企业版64位、VS2013 update4

2. 安装jdk

   到oracle官方下载jdk-7u71-windows-i586并安装(测试已经支持jdk7了)

   添加环境变量JAVA_HOME

   C:\Program Files (x86)\Java\jdk1.7.0_71

   添加环境变量CLASSPATH

   %JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar

   修改环境变量Path,在最前面加入以下值:

   %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

3. 安装Android SDK,下载installer_r24.0.2-windows.exe,我这里是安装到D:\Develop\Android\android-sdk目录下

   安装完后设置环境变量,右键我的电脑——属性——高级系统设置——高级——环境变量——系统变量里,找到 Path,双击进行修改,在最前面增加:

   .;D:\Develop\Android\android-sdk\tools;D:\Develop\Android\android-sdk\platform-tools;

  (注意末尾必须有 ; 英文分号,如果 Path 里面已经有这个值,就不需要添加)

   如果要更新SDK,国内用户可以先设置host:203.208.46.200 dl-ssl.google.com
   如果要访问google,国内用户可以设置host:

   64.233.166.116 www.google.com.hk

   64.233.166.116 www.google.com

4. 安装NDK,解压android-ndk-r8d-windows.zip至指定目录下,我这里是安装到D:\Develop\Android\android-ndk目录下

   安装完后新建一个环境变量ANDROID_NDK_PATH,值如下:

   D:\Develop\Android\android-ndk\android-ndk-r8d

5. 在线安装,直接运行 XamarinInstaller.exe 进行自动安装即可;

   离线安装:逐个安装(如果是升级,则装2和3即可):

   1) gtk-sharp-2.12.26.msi

   2) Xamarin.VisualStudio_3.9.483.msi

   3) XamarinStudio-5.7.2.7-0.msi (此版之上的XamarinStudio在破解后第一次运行会提示授权问题“Untrusted HTTP certificate detected”,直接选否不管它)

6. 全部弄完之后,最好重启电脑

7. 关于破解,先下载下面的文件,然后根据操作说明将序列号发送至1006503007@qq.com获取licx文件(此QQ不会上,只接收邮件),如果以前已经索取过licx,只要电脑不变的情况下是可以接着用的,这个破解不用执行注册的代码,与以前方式不同:

http://pan.baidu.com/s/1hqCIsc8


附部分原版程序下载地址:
http://download.xamarin.com/Installer/MonoForAndroid/jdk-7u71-windows-i586.exe

http://download.xamarin.com/Installer/Windows/XamarinInstaller.exe

https://dl.google.com/android/installer_r24.0.2-windows.exe

http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.26.msi

http://download.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_3.9.483.msi

http://download.xamarin.com/studio/Windows/XamarinStudio-5.7.2.7-0.msi

http://dl.google.com/android/ndk/android-ndk-r8d-windows.zip

http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86.zip

http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86_64.zip


附Android SDK开发包国内下载地址:

http://www.cnblogs.com/bjzhanghao/archive/2012/11/14/android-platform-sdk-download-mirror.html

http://blog.csdn.net/gyming/article/details/8168166/

部分原版地址来源于以下内容:

http://xamarin.com/installer_assets/v3/Windows/Universal/InstallationManifest.xml


二、Mac下面的安装(以下未更新,还是4.12版,只更新了mono for android的)

1.      安装max,这方面就不多说了,参考文章

    http://hi.baidu.com/hegel_su/item/421ee407956898b03c42e20e

    安装xcode的步骤也在上面这篇文章里了,注意,如果要用mac下面的模拟器,则只能装5.0.2的xcode,如果只用真机调试,则可以装5.1的xcode

2.      安装Xamarin,到官方网站下载在线安装程序XamarinInstaller.dmg进行全自动安装,安装过程中要下载很多文件,所以此步会有点漫长,等待自动安装完成,自动安装程序下载地址:

    http://download.xamarin.com/Installer/Mac/XamarinInstaller.dmg

3.      自动安装后的版本是没有破解的,而且是比较旧的版本,接下来我们要下载破解的对应版本,下载下面所有链接的文件,并依次序进行安装:

    1)http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-3.2.6.macos10.xamarin.x86.pkg

    2)http://download.xamarin.com/studio/Mac/XamarinStudio-4.2.3.60-60.dmg

    3)http://download.xamarin.com/MonoTouch/Mac/monotouch-7.0.7.2.pkg

    4)http://download.xamarin.com/MonoforAndroid/Mac/mono-android-4.12.1-0.pkg

    再下载破解文件:

    http://www.myuplbox.com/file/download/1052690

    破解步骤如下:

    a) replace mtouch in /Developer/MonoTouch/usr/bin/

    b) replace mandroid in /Developer/MonoAndroid/usr/bin/

    c) 在命令行下执行:sudo chmod a+x /Developer/MonoAndroid/usr/bin/mandroid

   d) Run in Cmd:/Developer/MonoAndroid/usr/bin/mandroid --activate --activation-name=b4a --activation-phone=b4a --activation-company=b4a --activation-code=b4a --activation-email=b4a

    e) Run in Cmd:/Developer/MonoAndroid/usr/bin/mandroid --entitlements

     如果输出类似于 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx MonoAndroid Priority2014-08-26T05:52:36" 则表示成功

   f) execute: /Developer/MonoTouch/usr/bin/mtouch --activate --activation-name=b4a --activation-phone=b4a --activation-company=b4a --activation-code=b4a --activation-email=b4a

部分源地址参考:

http://xamarin.com/installer_assets/v3/Mac/Universal/InstallationManifest.xml

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值