Reprint Please specify:
Http://www.cnblogs.com/sunyl/p/5493249.html
http://www.cnblogs.com/sunyl/
There's been a lot of news lately,
Oracle claims to Google 9.3 billion
Google intends to abandon Java on Android
Foreign media: Google considers Apple Swift as the "A-class" programming language for Android
I think learning cross-platform development is very important, it seems that the development of Android in C # is a good choice.
The content of this article is summarized:
Install the required IDE via official website
Modify hosts to make normal access to Google
Fix, Android SDK manager download error when installing:
C:\progra~2\android\androi~1\temp\usb_driver_r11-windows.zip (Access denied), etc.
1. Install Visual Studio 2015
Recommended for direct download via official website
https://www.visualstudio.com/zh-cn/
Select Visual Studio Community
If you do not like the online installer, the following link provides an offline installation of the ISO, you just need to unzip it and run Vs_community.exe
Https://www.visualstudio.com/downloads/download-visual-studio-vs
The installation options are available by default.
2.
Install the Xamarin plugin
Vstoolsforxamarin.exe
Can be downloaded directly from the website
Https://www.xamarin.com/download
Note: As Google cannot directly access, we can modify the hosts, computer Baidu Search, the hosts can find a lot. Here is not to say, lest there is a suspicion of advertising.
Share one directly.
http://pan.baidu.com/share/init?shareid=3717237670&uk=3171722477 (Extract code: LAOD decoding Password: laod.cn)
Need HTTPS to access Google and so on. For example:
HTTPS://WWW.GOOGLE.COM/NCR (Ncr:no country Redirect) prohibits country jumps.
After you change the hosts, you can run Vstoolsforxamarin.exe, and the Vstoolsforxamarin installer will download what you need. The installation options are available by default.
The installation is complete and we can create a new Android project.
Click Run to start an emulator automatically.
The directory structure and the difference between Android studio and Eclipse are still somewhat larger.
We can be in
https://developer.xamarin.com/or Microsoft Virtual College to find official training materials.
Seems to have found some problems, the main layout file does not open, prompting
Something went wrong the installed Android SDK is too old ...
Update vs Tips to open the Android SDK to install updates,
If the download speed is very slow, you can go to Baidu to find the mirror address, configuration will be much faster. (Search: Android SDK image can be found many)
There may be an error in the installation process:
Downloading Android SDK Tools, revision 24.4.1 URL not Found:c:\progra~2\android\androi~1\temp\tool
C:\progra~2\android\androi~1\temp\usb_driver_r11-windows.zip (Access Denied)
URL not Found:c:\progra~2\android\androi~1\temp\tools_r24.4.1-windows.zip (Access denied. )
Downloading Google USB Driver, revision 11
URL not Found:c:\progra~2\android\androi~1\temp\usb_driver_r11-windows.zip (Access denied. )
This is a problem with folder permissions, go to the wrong address (paste c:\progra~2\android\androi~1\ to My Computer address, press ENTER)
Locate the folder where the error occurred, right-click Properties, Security, edit, add, enter everyone and check
Tick all of the permissions.
You can also set permissions for the entire SDK folder.
This will then be downloaded normally.
After the installation update is complete, restart Visual Studio, and then open the main layout file.
Perfect end.
Visual Studio 2015 development Android