Cocould not open: \. Android/AVD/2.2.ini

Source: Internet
Author: User
Accidentally deleted many files under the account, so the following error occurred when enabling the android simulator: panic: cocould not open :\. android/AVD/2.2.ini: the search result is recorded here for ease of use. In general, the file is deleted and needs to be re-created. The cause of the problem is that the Directory D: \ Java \ Android \. Android/AVD/android4.1.ini does not have this. ini, or even the directory Android does not exist. By default, Android will create these files in administrator to store the files in the directory c: \ Documents ents and Settings \ Administrator \ of emulator. android folder solution: 1. Set the environment variable android_sdk_home to your SDK directory. For example, my variable name android_sdk_home is D: \ Java \ android_sdk 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, android_sdk_home = d \: \ 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.