Android模拟器无法在eclipse上启动

标签 android c eclipse

尝试从 Eclipse 启动 Android 模拟器时出现以下错误:

[2013-01-03 15:10:28 - Emulator] PANIC: Could not open: test

请注意,它与错误不一样:

[2011-07-10 15:32:26 - Emulator] PANIC: Could not open:C:\Users\Sam\.android/avd/Android2.1.ini

哪里,ini 文件给出了错误。因此,mklink 的解决方案不适用于我的情况。

在我的例子中,test 是应用程序名称。

PS:我使用的是 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.

关于Android模拟器无法在eclipse上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14136509/

相关文章:

eclipse - Tomcat 从 Eclipse 和 startup.sh 启动

android - 使用 OpenGL 将游戏逻辑与 Android 快节奏游戏渲染分开的最佳方法?

java - R.java不生成

java - Android 文本在 Nexus 6 上无法适当缩放

c - 期望 C 中的特定数据类型

Java:Eclipse 崩溃(Linux)

c++ - Eclipse C++类生成格式化

c# - 在 Visual Studio 中创建的 PCL 能否在 Xamarin 项目中使用?

android - 是否可以使用 C Hook android gsm 调制解调器

c - #define 语法是什么意思?