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.