Android simulator cannot be started

Source: Internet
Author: User

After eclipse and Android are configured according to the instructions on the internet,

Use the command line Android create AVD-N []-T []. After creating AVD, use the run button of eclipse to start the simulator, then press run. The following error message is displayed:

[16:44:43-helloworld] Android launch!
[16:44:43-helloworld] ADB is running normally.
[16:44:43-helloworld] No launcher activity found!
[16:44:43-helloworld] The launch will only sync the application package on the device!
[16:44:43-helloworld] semi-ming sync
[16:44:43-helloworld] Automatic Target mode: preferred AVD 'sdk _ 2_2 'is not available. Launching new emulator.
[16:44:43-helloworld] launching a new emulator with virtual device 'sdk _ 2_2'
On the Internet, the solution is to configure the environment variable android_sdk_home. It will not work after the test (not clearly written on the Internet)

Why?

 

The method found to replace the boot simulator is

Use the command line to enter the android command to start

Press start to start the simulator.

 

Postscript:

This problem is indeed caused by the problem of setting android_sdk_home. The specific solution is as follows: Create a variable name in the environment variable: android_sdk_home, the value is the SDK directory, and "D: \ Program Files \ android-sdk_r07-windows \ Android-SDK-Windows ", then edit path, add a value" % android_sdk_home % \ tools ", test android with command line, see if you can start Android SDK and AVD manager.Program,Restart eclipse, View

Window-perferences-Android-build to see whether the default debug keystore points to android_sdk_home location, my computer is "D: \ Program Files \ android-sdk_r07-windows \ Android-SDK-Windows \. android \ debug. keystore ", it should be successful.

Conclusion: to install the android development environment for the first time, you need to install JDK, set java_home, install eclipse, and install Android SDK. It is required after version 1.5. LoadSDK manager. You can use the command line or android SDK and AVD manager to create an AVD. 

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.