I am getting the below error when trying to start an Android
emulator from Eclipse
:
[2013-01-03 15:10:28 - Emulator] PANIC: Could not open: test
Please note that its not same to the error:
[2011-07-10 15:32:26 - Emulator] PANIC: Could not open:C:\Users\Sam\.android/avd/Android2.1.ini
Where , ini
file is giving the error. Hence, solution of mklink
will not apply in my case.
In my case test
is the application name.
PS: I am using Windows 7
.
I have seen the following solution somewhere.
Try this..
1) Create a environment variable called: ANDROID_SDK_HOME and set it to C:\Users\Administrator
2) Open Eclipse > Window > Preferences and click in Run/Debug and String Substitution
3) Add a new variable called: user.home and set it to C:\Users\Administrator
4) Create an AVD and run it.
I had the same problem before. All I did was open eclipse with administrator privilege.
ie,
Right-click eclipse and
choose 'Run as administrator'
Hope it helps!
- Create a environment variable called: ANDROID_SDK_HOME and set it to C:\\Users\\Administrator
- Open Eclipse > Window > Preferences and click in Run/Debug and String Substitution
- Add a new variable called: user.home and set it to C:\\Users\\Administrator
- Create an AVD and run it.
Maybe you could find your solution in this answer . The programmer was working on D:
drive (where his libraries were), so he copied the .android
folder from D:\\hisName\\
to C:\\Users\\hisName\\
. Good luck!
thanks to another post on so which i can not find anymore i used this method :
On windows 7 (perhaps on MAC too ?) : simply delete the .android folder in your USER/ folder and voilà.
When you open eclipse or android studio, the .android folder will be recreated and your avd will run just fine.
PS : you do not need to uninstall the android sdk manager program.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.