Ii. mono for Android learning: Installing IDE and possible problems

Source: Internet
Author: User
Tags android sdk manager

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.

Related Article

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.