Xamarin. Android Development environment

Source: Internet
Author: User

Pure. NET programmer, without any Android development experience. Three days of continuous tossing, only to configure the completion of the Xamarin.android development environment, complete Hello World, all the way is a pit ah.

First, the new installation of VS2015, the mobile development options on the hook: Xamarin, Android has SDK I also hook, but no use, loaded very slow, also can not be installed. The end result is that I deleted all Android-related, manually installing and configuring the JDK, Android SDK, Android NDK.

Recommend a good place: http://www.androiddevtools.cn/

All of my tools are here. Thank you so much.

Ii. Installation of JDK

Pit One: Initially selected JDK 1.7, later found my Android SDK newness, compile-time general hints inconsistent with JDK version, I reinstall JDK 1.8

Third, install the Android SDK

Just choose the latest version.

Pit One: Can't update, need FQ, I won't. Search the web for an image address to fill in on the line.

Pit Two:

Downloading Android SDK Tools, revision 25.2.5
Installing Android SDK Tools, revision 25.2.5
Failed to rename directory D:\Program files\android\android-sdk\tools to D:\Program files\android\android-sdk\temp\ Toolpackage.old01.

My final solution is to copy the Tools folder command to the tools-replica, open the Android.dat in the replica, and run SDK Manager in the same sibling directory. Think everything, the result is still show the same error, various irritability, finally found an application in the Task Manager, Adb.exe, this is the abbreviation of Android Debug Bridge, just know that he was in mischief, turn off his, and then re-update, this is OK.

Iv. installation of the NDK

This is the only one that has not seen the pit, and it can be used with the load.

Five, simulator

Pit One: Create a new default project, the compilation succeeded, a run on the prompt deployment failure, guessed that the simulator is not loaded, find a half-day to find their own simulator without equipment, a random new one,

Pit Two: My vs does not automatically load the emulator, you need to start the emulator before running the project.

Summary: or lack of mobile development experience, 0 experience to make this thing, are tears! Keep working on it!!!

Xamarin. Android Development environment

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.