android 模拟器 PANIC: Could not open: AVD 解决方法
2014-03-19 14:16
405 查看
参考文章:
http://stackoverflow.com/questions/18540607/starting-emulator-for-avd-then-panic-could-not-open http://android.stackexchange.com/questions/51742/cannot-start-emulated-android-device-avd-device-in-windows-7
解决方法一:
This is a bug in the ADT Plugin. For a workaround until it is fixed use a NTFS symbolic link.
I have a C: drive for windows 7 and a D: drive for all my work and data. After installing windows 7 I relocate all my special folders from C:\Users\John Doe to D:\John Doe. The ADT Plugin is trying to load the emulator from C: when it and the configure files
are on D: (PANIC: Could not open etc.). NTFS can get the ADT Plugin to read from D: using a NTFS symbolic link. Open a command prompt in C:\Users\John Doe (obviously use your user name), use the mklink command.
Now when the ADT plugin is trying to reference .android on C:, NTFS sends the request to D: and the emulator starts correctly.
Original
Source
OR
解决方法二:
If it is not a path issue, then:
Create a environment variable called:
set it to
String Substitution Add a new variable called: user.home and set it to
an AVD and run it.
Try these steps
Create a environment variable called:
set it to
Open
set it to
Create an AVD and run it.
Note The
the name of your Windows account; it is where resides the folder which contains your
An android project member says here:
As a work-around, you can define the environment variable ANDROID_SDK_HOME to point to the directory containing your .android directory. The emulator and SDK Manager will pick it up properly.
Also you should check that the AVD is created in the location D:\NN\.android\avd (check in your screenshoots, just above the list of AVD, the path in List of existin Android Virtual Devices).
http://stackoverflow.com/questions/18540607/starting-emulator-for-avd-then-panic-could-not-open http://android.stackexchange.com/questions/51742/cannot-start-emulated-android-device-avd-device-in-windows-7
解决方法一:
This is a bug in the ADT Plugin. For a workaround until it is fixed use a NTFS symbolic link.
I have a C: drive for windows 7 and a D: drive for all my work and data. After installing windows 7 I relocate all my special folders from C:\Users\John Doe to D:\John Doe. The ADT Plugin is trying to load the emulator from C: when it and the configure files
are on D: (PANIC: Could not open etc.). NTFS can get the ADT Plugin to read from D: using a NTFS symbolic link. Open a command prompt in C:\Users\John Doe (obviously use your user name), use the mklink command.
mklink /J "C:\Users\John Doe\\.android" "D:\John Doe\\.android"
Now when the ADT plugin is trying to reference .android on C:, NTFS sends the request to D: and the emulator starts correctly.
Original
Source
OR
解决方法二:
If it is not a path issue, then:
Create a environment variable called:
ANDROID_SDK_HOMEand
set it to
C:\Users\Administrator Open Eclipse > Window > Preferencesand click in
Run/Debugand
String Substitution Add a new variable called: user.home and set it to
C:\Users\AdministratorCreate
an AVD and run it.
Try these steps
Create a environment variable called:
ANDROID_SDK_HOMEand
set it to
C:\Users\<<Administrator>>
Open
Eclipse > Window > Preferences, click in
Run/Debugand
String Substitution. Add a new variable called
user.homeand
set it to
C:\Users\<<Administrator>>
Create an AVD and run it.
Note The
<<Administrator>>means
the name of your Windows account; it is where resides the folder which contains your
.androiddirectory
An android project member says here:
As a work-around, you can define the environment variable ANDROID_SDK_HOME to point to the directory containing your .android directory. The emulator and SDK Manager will pick it up properly.
Also you should check that the AVD is created in the location D:\NN\.android\avd (check in your screenshoots, just above the list of AVD, the path in List of existin Android Virtual Devices).
相关文章推荐
- 搬家、备份后启动Android PANIC :Could not open D:\java2\android\android-sdk-windows\.android\avdtest.ini问题的解决
- android开发找不到模拟器(PANIC: Could not open:)解决办法
- 启动Android模拟器报 PANIC: Could not open /.android/avd/test.ini 问题解决
- android 模拟器启动 PANIC: could not open .android/avd/XXX.ini 错 关于android sdk path 问题的彻底解
- 启动Android模拟器报 PANIC: Could not open /.android/avd/test.ini 问题解决
- 启动Android模拟器报 PANIC: Could not open /.android/avd/test.ini 问题解决
- PANIC: Could not open: AVD错误的解决方法
- 启动Android模拟器报PANIC: Could not open: C:\Users\RenZhe\.android/avd/test.ini问题解决
- PC安卓模拟器PANIC: Could not open:C:\Documents and Settings\Administrator\.android/avd/my_avd.ini解决方案
- win7 用户目录迁移后引起的安卓不能正常启动虚拟机[PANIC:could not open :avd name]问题解决
- PANIC: Could not open:my_avd.ini解决
- 无法启动android虚拟设别(avd) PANIC: Could not open: X.X
- android:PANIC: Could not open: C:\Documents and Settings\Administrator\.android/avd/
- Android 模拟器错误PANIC: Could not open XXX
- 启动android模拟器,报PANIC: Could not open:解决方法
- PANIC: Could not open: /home/wangwei/.android/avd/t2.2.ini
- PANIC: Could not open:my_avd.ini完美解决
- eclipse 无法启动AVD,出现Starting emulator for AVD '' PANIC: Could not open: 错误提示的解决办法
- 重装系统后,运行模拟器出现:加载的时候出现PANIC:could not open AVD config file
- Android开发之旅:环境搭建及HelloWorld (AVD无法启动,出现Starting emulator for AVD '2.2' PANIC: Could not open: 错误提示)