安卓/ Eclipse的惊慌:无法打开 [英] Android/Eclipse PANIC: Could not open
问题描述
我是全新的Android开发和Eclipse,所以我刚才设置这一切了,我在尝试的Hello World教程。可悲的是,当我尝试运行我得到以下错误的程序:
惊慌:无法打开C:\用户\弥敦道Smith.android/avd/Droid_4.0.3.ini
我听说你应该避免在这些路径的空间。就是在那里的问题是名称空间?如果让我怎么去改变它?
如果有人可以帮助我走出这将是盛大的。
顺便说一句我也注意到,我的SDK路径是 C:\用户\华硕笔记本\ Android的软件开发工具包\
我应该更改为相同的用户?这不是故意的,是有我改变这种向正确的用户一个简单的方法?
这个已经被问了几次不已,试试这个:
- 创建称为环境变量:ANDROID_SDK_HOME并将其设置为 C:\用户\管理员
- 打开Eclipse>窗口> preferences和点击 在运行/调试和字符串替换
- 添加一个名为新变量: 的user.home并将其设置到C:\用户\管理员
- 创建一个AVD并运行 吧。
-
<一个href="http://stackoverflow.com/questions/6641498/android-emulator-cant-start-cause-of-wrong-folder">Android模拟器无法启动,'错误的文件夹
的原因
-
<一个href="http://stackoverflow.com/questions/6936230/android-emulator-error2011-08-02-111401-emulator-panic-could-not-open-c">android仿真器错误:[2011-08-02 11时14分01秒 - 模拟器]惊慌:无法打开C:\用户\你好\ .android / AVD / myemu.ini
I'm brand new to Android development and Eclipse so I have just set it all up and I am attempting the Hello World tutorial. Sadly when I try and run the program I get the following error:
PANIC: Could not open: C:\Users\Nathan Smith.android/avd/Droid_4.0.3.ini
I have heard that you should avoid spaces in these paths. Is the space in the name where the problem is? If so how do I go about changing it?
If anyone could help me out with this that would be grand.
By the way I also noticed that my SDK path is C:\Users\Asus Laptop\android-sdks\
should I change this to the same user? This was not intentional, is there an easy way of me changing this to the right user?
This has been asked a few times already, try this:
- 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.
这篇关于安卓/ Eclipse的惊慌:无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!