Visual studio 2015 android development, 2015 android

Source: Internet
Author: User
Tags android sdk manager

Visual studio 2015 android development, 2015 android

Reprinted Please note:

Http://www.cnblogs.com/sunyl/p/5493249.html

Http://www.cnblogs.com/sunyl/

There have been a lot of news recently,

Oracle claimed 9.3 billion from Google

Google intends to discard Java on Android

Foreign media: Google considers Apple Swift as the android "first-class" Programming Language

 

I think it is very important to learn about cross-platform development. It seems that using C # To develop Android is a good choice.

 

Overview:

 

Install the required IDE on the official website

Modify hosts to allow normal access to Google

Solution: the following error occurs when Android SDK Manager is downloaded and installed:

C: \ PROGRA ~ 2 \ Android \ ANDROI ~ 1 \ temp \ usb_driver_r11-windows.zip (Access denied) etc.

 

 

1. Install visual studio 2015

We recommend that you download it from the official website.

Https://www.visualstudio.com/zh-cn/

Select visual studio 2015 community

If you do not like the online installer, the following link provides the offline installation ISO, you only need to decompress it and run vs_community.exe

Https://www.visualstudio.com/downloads/download-visual-studio-vs

The default installation option is enough.

 

2.

Install the Xamarin plug-in

Vstoolsforxamarin.exe

You can download it from the official website.

Https://www.xamarin.com/download

Note: Because Google cannot access it directly, we can modify hosts, Baidu search on the computer, and many hosts can be found. We will not mention it here to avoid the suspicion of advertising.

Share one directly.

Http://pan.baidu.com/share/init? Authorization id = 3717237670 & uk = 3171722477 (extraction code: laod decoding password: laod.cn)

Access Google over https. For example:

Https://www.google.com/ncr (ncr: No Country Redirect) disables Country redirects.

After changing the host, you can run vstoolsforxamarin.exe. The vstoolsforxamarin installer will download the required information. The default installation option is enough.

 

The installation is complete. You can create an android project.

 

 

Click Run to automatically start a simulator.

There is a big difference between the directory structure and Android Studio and eclipse.

We can

Https://developer.xamarin.com/or Microsoft Virtual college will find official training materials.

 

It seems that some problems have been found, and the main layout file cannot be opened, prompting

Something went wrong The installed Android SDK is too old...

Update VS. Enable Android SDK installation and update,

 

 

If the download speed is very slow, you can find the image address in a hundred degrees and configure it much faster. (Search: There are many Android sdk images available)

 

 

An error may occur during 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 folder permission issue. Go to the wrong address (put C: \ PROGRA ~ 2 \ Android \ ANDROI ~ 1 \ paste it to my computer address and press Enter)

Find the folder with the error, right-click Properties, set security, edit, add, enter Everyone, and check

Select all permissions.

 

You can also set permissions for the entire SDK folder.

In this way, you can download it normally.

 

After the installation is complete, restart visual studio and open the main layout file.

 

 

End perfectly.

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.