PC Android simulator panic: cocould not open: C: \ Documents ents and Settings \ Administrator \. Android/AVD/my_avd.ini solution.

Source: Internet
Author: User

A similar error occurs when you run the android program for the first time, causing the program to fail to run. The following are several examples:

 

Question 1: PC Android simulator panic: cocould not open: C: \ Documents and Settings \ Administrator \. Android/AVD/my_avd.ini 2011-7-16

Question 2: [-emulator] Panic: cocould notopen: C: \ Users \ zhaozhengfu \. Android/AVD/avd2.1.ini what does this mean?

Question 3: cocould not open: C: Users \. Android/AVD/avd3.0.ini 2011-7-12

Question 4: when creating an android virtual machine, the following error message is displayed: panic:
Cocould not open AVD config file: C: \ Users \ zookeeper. Android \ AVD \ anroid1.5.avd/config. ini what is going on ???

Question 5: cocould not open: C: Users \. Android/AVD/avd3.0.ini

Question 6: cocould not open AVD config file: C: \ Users \ warning board. Android \ AVD \ 123.avd/ config. ini and so on.

Most of the problems encountered in Baidu search are not answered or cannot be solved. After some research experiments, the problem was finally solved.

The solution or experience is provided as follows:

 

The above problem: Level panic: cocould not open: C: \ Documents and Settings \ Administrator \. Android/AVD/my_avd.ini solution is as follows:

1. Set the environment variable android_sdk_home to your SDK directory. For example, my variable name android_sdk_home is E: \ Java \ androidsdk.

2. modify the configuration file in the eclipse installation directory: Find the following file: Eclipse \ configuration. settings \ Org. eclipse. UI. IDE. after prefs is enabled, add the environment variable you Just configured.

For example, I added: android_sdk_home = e \: \ Java \ androidsdk (note the slash format)

3. Restart eclipse, re-build AVD, and run it successfully.

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.