Visual Studio Emulator for Android toss Kee

Source: Internet
Author: User
Tags file url android sdk manager

Want to use virtual machine debugging Android project, so think of Ms Free to provide Visual Studio Emulator for Android, this thing price free enough, n long before trial, speed leverage!

The installation package is very small, less than 40MB, and is ready to download soon. Since played before, know that the goods rely on Hyper-V, so first into the system function in the Hyper-V installed, two times to complete the restart. Then began to install Vsemu, unexpectedly installed, prompted "The file or directory is corrupted and unreadable", as if it is a problem with the installation package. So opened Chrome from the MS official website and downloaded a copy, fortunately, the installation package is not big, and then finished. Install again, or the same error! It's crashing! From the Recycle Bin to find out the previous installation package, compared to two files, confirm the same binary, indicating that the installation package is not a problem, it should be a system problem! Then check the installation log and find a "MUX:ERROR:Could not load file or assembly ' Microsoft.VisualStudio.Utilities.Internal.Net35 ... ' ", feeling is this problem, and digging in this direction for half a day, still no solution! Omitted here 1000 words, anyway is a variety of toss, finally feel may really download the file is bad, so the file URL copy to thunder download a install try, really good! Install everything goes well! This time my heart 10,000 grass mud horse is bolted! Do not know whether the problem is mobile broadband, or Chrome browser problems, the same URL is actually downloaded to the file is bad! Waste my precious time!

After installation, open, start the virtual machine, start normal, no problem! Open the browser, found unable to surf the internet, and then turn off the virtual machine, to the network adapter management to find a dummy network card, the IP address to the local LAN distribution address, and then start the virtual machine, finished! It's not going to start! Then start all kinds of toss, how can not start, the Foreigner website said found this file "C:\Program files (x86) \microsoft Xde\10.0.10586.0\skus\android\xdesku.xml", Delete this line: guestdisplayprovider= "Vsemulator.openglguestdisplay", try to have no effect, but also tried a lot of other programs, basic useless! Finally found that the problem is the network setup, there is a foreigner's post that is configured with multiple intranet or multiple external network virtual routing reasons, but I do not configure, should be the reason why I modify the IP address, so to the Hyper-V Manager to remove all virtual network cards, routes and VSEMU virtual machines, Then in the Vsemu again to start the virtual machine, it automatically created the corresponding virtual network card, virtual machine also started success! Later found that just add a external virtual network card, and then Hyper-V virtual machine settings to choose this network card, virtual machine can be normal online!

Next began to toss the problem of the hosts, because the local debugging project is configured through the hosts in the pseudo-domain access, but also to modify the virtual machine's hosts, see the online method said can be modified by the following methods:

ADB remountadb PULL/SYSTEM/ETC/HOSTSVI hosts # Modify the corresponding content adb push HOSTS/SYSTEM/ETC

A little excited, the result of the first step ADB devices did not find the virtual machine, very depressed. As a result, we continued to search for relevant solutions on the Internet and found the need to configure Android SDK Tools:

Hkey_local_machine\software\wow6432node\android SDK Tools
Path= "C:\\Program Files\\android-sdk" (in the directory to have Platform-tools, try tools and platforms do not seem to need)


This allows the ADB devices to list the devices after the Vsemu is started, and it can be operated by ADB.


Attached 1:

Android SDK Tools https://developer.android.com/studio/index.html
Bottom: Get command-line tools only
Click to download Sdk-tools-windows-3859397.zip

Android SDK Platform-tools (can also download platform-tools via the SDK Tools downloaded above)
Https://developer.android.com/studio/releases/platform-tools.html
Click to download SDK platform-tools for Windows


Note: These two can be used to achieve high-speed download, the official address of the direct download is too slow!

Attached 2:

Android SDK Manager Agent Settings
(the latest version of SDK Manager seems to have no GUI interface, only command-line operation, only big and dumb Android Studio with GUI management tools)
Tools + Options ... = + Android SDK manager-settings
HTTP Proxy Server set to mirrors.neusoft.edu.cn
HTTP Proxy Port set to 80
Tick "force https://... sources to be fetched using http://..." and then go back to the main interface and select Packages + = Reload.

Visual Studio Emulator for Android toss Kee

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.