Android simulator Installation

Source: Internet
Author: User

Today, when testing a mobile website, we found that "Microsoft's WP7" and "Apple's iOS" for <SELECT> .. </SELECT> the touch operations of elements are not the same. WP7 switches to the list selection area in full screen mode, while IOS only shows the list selection area in the lower half of the screen, so I thought that there would be another scene on Android? Then the android SDK is down (referArticle: Http://www.iplaysoft.com/android-emulator.html)

 

But some new problems found during the installation of the article are recorded here

 

1. The first time you open the server, an SSL error message is displayed to prevent you from connecting to the Google server and obtaining updates.

Solution: Select the "Force HTTPS..." check box on the setting interface and disableProgramRun "SDK setup.exe" again"

 

2. When it is updated to 99%, the system prompts that a directory is occupied by other programs and cannot be installed (even if I press the prompt to close all programs, or even anti-virus software and firewall)

Solution: copy the entire SDK directory to the C root directory and change the name to Android (that is, the final SDK directory is c: \ Android ), the update was successful again (I guess Android does not support windows long directory names very well, but it is still processed in 8.3 format, so the path cannot be found)

 

3. The simulator cannot be run after it is created. The error message is "emulator: Error: Unknown Virtual Device name ".

Solution: Open System Properties> environment variables> New in system variables> variable name android_sdk_home (note that this variable name cannot be changed, dead !), Set the variable value to the directory where the SDK is located, for example, C: \ Android, close the program, run it again, and create a simulator.

 

Previous:

Note: The first time the android simulator was loaded, it was really slow. I mistakenly thought the program crashed.

Finally, back to the initial issue, Android and WP7 have the same processing for the select element, that is, switching to a new full screen interface allows users to slide up and down to choose

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.