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)