Mono for Android Environment configuration (environment Building + cracking method + running a small program)

Source: Internet
Author: User

I. Preparation: Download the relevant software tools to prepare for the environment.

Hey! Baidu Network disk cannot share, according to the name download.

Two. First install jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008 Here Choose Install Jdk6, online see an article said Jdk7 and above, Mono has not supported, But the text written a year ago, the current support is not clear.    For the sake of safety here, installing Jdk6,mono is supported. Note the configuration of the environment variables, which are not described in detail here. Main configuration Java_home,path,class_path.

Three. Installing Mono-2.11.3-gtksharp-2.12.11-win32-0.exe

Install mono under Windwos, and install it according to the default.

Four. Installing mono-android-4.2.5.195540401

Install by default.

Five. Extract the android4.2sdk.zip to disk.

Note: The path does not have Chinese or white space, step six need to use the decompression path.

Six. Run regedit to start Registry Editor, navigate to HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)/software/novell/mono/mono for Android, edit the value of Androidsdkdirectory is the decompression path of android4.2sdk.zip (note that the path containing the SDK Managet.exe)

If step six is not installed, opening vs directly will prompt there is an error attempting to intialize the Monoandroidpackage: Error message.

Seven. Crack mandroid. Replace Mandroid.exe replication with C:\Program Files\msbuild\novell (default installation address)

Eight. Start running a small program. (really a bit slow and card ...)

1. Open vs, New = "Project =" Mono for Android. Create a project.

2. Launch the Android Simulator.

in the Android4.2sdk.zip extract file, locate the AVD Manager.exe, launch, and create a new emulator. and start.

Create the emulator.

Start the emulator.

3. Start the project.

In VS, press F5 to debug the startup project.

Mono for Android Environment configuration (environment Building + cracking method + running a small program)

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.