Emulator running Android

Source: Internet
Author: User

I plan to run emulator to load the IMG compiled just now, but I have encountered many problems. The basic problem is similar to the following link:

Http://hi.baidu.com/god_sperm/blog/item/ca49aeee19df755e79f055e6.html

 

1. First Android_swt does not exist. solution parameter:

Http://hi.baidu.com/thinke365/blog/item/202733aef773d6f1fbed50c9.html

 

2. When you run emulator again, you must specify AVD under the command line of emulator. Then let's create a new AVD:

./Android create AVD-N my _Android2-T1

 

However, you may encounter errors similar to the following:

Error: Error parsing the SDK.

Error:/home/Peipei/froyo/out/host/linux-x86/platforms is missing.

Error: Unable to parse SDK content. 

 

Solution: We do not use/Out/host/linux-x86/Android and emulator under, that is, do not use the tool we previously compiled, but use the Android and emulator under the SDK, which is in the http://hi.baidu.com/god_sperm/blog/item/ca49aeee19df755e79f055e6.html of thisArticle. I compile the SDK myself: Make SDK

 

3. We will run emulator from the SDK compiled above. For specific parameters, see the link:

Http://iame.javaeye.com/blog/280666

Of course, more detailed official reference here: http://developer.android.com/guide/developing/tools/emulator.html

 

 

4. Sometimes you need to set an environment variable ....

Export android_product_out =/root/DSK/Android/out/target/product/generic.

 

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.