Android / Eclipse PANIC:无法打开 [英] Android/Eclipse PANIC: Could not open

查看:235
本文介绍了Android / Eclipse PANIC:无法打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Android开发和Eclipse的全新产品,所以我已经设置好了,我正在尝试Hello World教程。不幸的是,当我尝试运行程序时,我收到以下错误:


PANIC:无法打开:C:\Users\Nathan Smith.android/avd/Droid_4.0.3.ini


我听说你应该避免这些路径中的空格。名称中的空间是什么问题?如果是这样,我该怎么改变呢?



如果有人可以帮助我,这将是盛大的。



顺便说一句,我也注意到我的SDK路径是 C:\Users\Asus Laptop\android-sdks\ 我应该把它改为同一个用户吗?这不是故意的,是否有一个简单的方法将我改为正确的用户?

解决方案

已经被问了几次,尝试这样:



< blockquote>


  1. 创建一个名为ANDROID_SDK_HOME的环境变量,并将其设置为
    C:\Users\Administrator

  2. 打开Eclipse>窗口>首选项,然后在运行/调试和字符串替换中单击

  3. 添加一个名为
    user.home的新变量,并将其设置为C: \\Users\Administrator

  4. 创建AVD并运行
    它。





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:

  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.

这篇关于Android / Eclipse PANIC:无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆