Installation sequence:
1. Install JDK
Select your desired version: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Install the android SDK
Http://developer.android.com/sdk/index.html
3. Install mono During the running of your operating system:
Http://www.go-mono.com/mono-downloads/download.html
4. Install mono for Android (this software (plug-in) is a paid software. If you learn it, find a solution to crack it)
Http://xamarin.com/monoforandroid
5. Optional monodevelop development tools
Http://monodevelop.com/
When installing monodevelop, note that you must install GTK-sharp in advance (generally, it will be installed in step 1)
You can also use Visual Studio for development.
NOTE: If any of the above websites cannot be opened, they may be blocked. Please search for other websites to download them.
Possible problems:
When Visual Studio is enabled, the following message is displayed:
---------------------------
There was an error attempting to initialize the monoandroidpackage:
System. argumentnullexception: The value cannot be null. Parameter Name: path1
In system. Io. Path. Combine (string path1, string path2)
In xamarin. androidtools. androidsdk. get_adbexe ()
In mono. Android. visualstudio. monoandroiddevicemanager.. ctor ()
In mono. Android. visualstudio. monoandroidsdk. get_devicemanager ()
In mono. Android. visualstudio. monoandroidpackage. initialize ()
--------------------------- OK ---------------------------
The reason is: the path set by the android SDK is incorrect.
Solution: Open mono developer to set the path tool-"open AVD Manager (I am using 4.2.5). Other versions may be different.
Online Search Solution
Cause: Android debug bridgecannot be found, or adb.exe cannot be found.
Solution: Open Android SDK manager of Android SDK, select Google USB driver, and then install. (The key is that Google USB driver is not found in the SDK manger)
In the development environment, I personally prefer to use Visual Studio for development. After all, I am familiar with it, but every time I debug androidProgramIt is easy to die, so I have to use monodevelop for development.