Mono for Android installation Fax

Source: Internet
Author: User

  1. Brief introduction
  2. Why use Mono for Android
    1. Work reason: Requires a mobile device to access the server.
    2. Ability Reason: C # program APE, only understand Java, no combat experience.
    3. It is said to be able to seamlessly integrate with the visual Studio IDE that I am familiar with (post-deployment is complete, but cannot be compiled, then use the Xamarin Studio IDE instead.) ) 。
  3. Author Machine Environment
    1. Microsoft Windows 7 x86 Ultimate Edition
    2. Microsoft Visual Studio Ultimate Edition
    3. Microsoft. Net Framework 2.0 & 3.0 & 3.5 & 4.0
  4. Resources

    Some of the information is from "Wule bar":http://www.wuleba.com/tag/Mono

  5. Deploying the development environment
  6. Components required for the development environment
    1. JDK 1.6
    2. Android SDK (this version of Mono for Android seems to recommend using API Level 8)
    3. Android NDK
    4. gdk#
    5. Mono for Android
    6. Microsoft Visual Studio 2010
    7. Xamarin Studio IDE
  7. Installing and configuring various components
  8. JDK 1.6

    Java Program Ape Please ignore this section.

  9. Get JDK

    Link:http://pan.baidu.com/s/1nt9a2dN Password:zxrz

  10. Installing the JDK

    The installation process is the same as installing other software processes, and follows the wizard (for example:C:\Program files\java\jdk\1.6\).

  11. Configuring the JDK environment variables
  12. system environment variable
    1. Right-click Computer → Properties, open the following window:

     

    1. Click "Advanced System Settings" in the red circle to open the following window:

     

    1. < strong> Click the environment variable button in the red circle to open the following window:

    &NBSP;

  13. " Java_home "

    jdk Installation path (see 2.2.1.2 installation jdk installation path in

  14. "Path"

    Value:%java_home%/bin;%java_home%/jre/bin;

    You need to check if you already have a "path" variable, and if it already exists, click the Edit button to paste the above value into the "path" Variable value header.

  15. "CLASSPATH"

    Value:.; %java_home%/lib/dt.jar;%java_home%/lib/tools.jar

  16. Android SDK

    Android Program Ape Please ignore this step automatically .

  17. Get the Android SDK

    Link:http://pan.baidu.com/s/1dDIKngX Password:qakm

  18. install android SDK
    1. to extract the "ANDROID-SDK" within the package to an all-English no-space path.
    2. Windows7 operating system, try not to extract it into the system disk.

    d:\android\android-sdk

  19. Configuring the PATH environment variable

    ( See 2.2.1.3.1 System environment variables for details )

    Value:D:\Android\android-sdk\tools

  20. Android NDK

    Through the subsequent tests, it seemed useless.

  21. Get Android NDK

    Link:http://pan.baidu.com/s/18GX8U Password:wtsc

  22. Installing the Android NDK

    Just unzip to a full English no space path. I unzipped to D:\Android\android-ndk.

  23. GDK #
  24. Get gdk#

    Link:http://pan.baidu.com/s/1gdgg4xX Password:1nxa

  25. Installing gdk#

    Follow the wizard to install it.

  26. Mono for Android
  27. Get Mono for Android

    Link:http://pan.baidu.com/s/1mgjufXm Password:efer

  28. Installing Mono for Android

    Follow the wizard to install it.

  29. Hack Mono for Android

    ( as a procedural ape, do not advocate the use of cracking, but do not oppose.) The ultimate reason is too expensive. Let's find a cracked trick. )

  30. get cracked package

    link: http://pan.baidu.com/s/1c0ei5o0 3p7x

  31. usage instructions

    If you search for the Niang mono for Android

  32. copy after decompression "XAPatcher.exe" file to the "C:\Program files\msbuild\xamarin\android" path.
  33. double-click" XAPatcher.exe "and start
  34. &NBSP;

    1. Tick VS2010 and Android options, click "Patch me! "button to complete the hack.

    &NBSP;

  35. Endless trouble.

    According to the instructions on the Internet, to complete the installation, you can start C # to write Android App . But it's not so good, it's just the beginning of the trouble (maybe I'm a bad character).

  36. The nightmare begins .

    start visual Studio ideandroidf5monodroid does not support running the previous Versionandroid sdk etc, still can't solve. Finally give up.

    since visual studio No, then instead use xamarin Studio this tool.

  37. Xamarin Studio

    After a search, the installation package was finally found in the CSDN .

    You can also download it from My network disk:

    Link:http://pan.baidu.com/s/1hqgKz7Q Password:3a4n

    Follow the wizard to install it.

  38. Nightmare continues

    Once installed, it will be upgraded automatically first.

  39. Hello Android

    Quickly created a project, after more rapid Debug, incredibly can, too beautiful.

    Then try opening the layout file and look at the design interface. By! Another problem: TheAndroid SDK Tools version is too low to render. Need to be upgraded with SDK Manager .

    Let's upgrade it. What's the situation, incredibly slow,1K? Is this going to se years?

    Decisive "Google a bit", fortunately found the acceleration program.

  40. Host File

    (Important, otherwise it may not be possible to install the AVD virtual environment) Open the "C:\Windows\System32\drivers\etc" directory to locate the "hosts" file, adding the following configuration:

    127.0.0.1 localhost

    #Google Home

    203.208.46.146 www.google.com

    # This line is for the convenience of opening the Android development website Now it seems like no VPN can also be opened

    74.125.113.121 developer.android.com

    # The updated content is downloaded from the following address

    203.208.46.146 dl.google.com

    203.208.46.146 dl-ssl.google.com

    After saving is turned off, update again.

    That's the right rhythm.

  41. Upgrade again

    After upgrading the Android SDK Tools , you need to upgrade the Xamarin.android . But this process is done to Xamarin Studio .

  42. End

    So far, theMono for Android Environment seems to have been built. But it's unclear whether there will be any problems in the future. Can only take one step to calculate one step.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.