AVD - 惊慌:无法打开...... - 不是一个路径问题惊慌、路径、无法打开、不是

2023-09-12 01:41:46 作者:笔画不出思念

我想写一个Android应用程序与我上午通过的加载JDK,日食,SDK 的等,都从 ADT-束窗,x86_64-开始20130219 从 http://developer.android.com 。

I want to write an Android app and I've started this morning by loading JDK, eclipse, SDK etc, all from the adt-bundle-windows-x86_64-20130219 from http://developer.android.com.

这个问题,我现在:

![2013年2月27日13时36分26秒 - 的Test2] Android的推出       [2013年2月27日13点36分26秒 - 的Test2]亚洲开发银行正常运行。       [2013年2月27日13点36分26秒 - 的Test2]执行com.example.test2.MainActivity活动推出       [2013年2月27日13时37分27秒 - 的Test2]启动一个新的仿真与虚拟设备droidX2       [2013年2月27日13时37分27秒 - 模拟器]惊慌:无法打开:droidX2

[2013-02-27 13:36:26 - Test2] Android Launch! [2013-02-27 13:36:26 - Test2] adb is running normally. [2013-02-27 13:36:26 - Test2] Performing com.example.test2.MainActivity activity launch [2013-02-27 13:37:27 - Test2] Launching a new emulator with Virtual Device 'droidX2' [2013-02-27 13:37:27 - Emulator] PANIC: Could not open: droidX2

我一直都凌晨筛选,虽然帖子在网络上的 AVD ,我还没有见过一个不涉及该路径被搞砸与。 INI 未找到。我不认为我有一个路径问题。 AVD正在寻找文件的 D:\ USERS \ XXX \ .android \ AVD 而这也正是该文件。所以不明白为什么仿真器无法打开。

I've been sifting though posts on the web all morning about AVD and I haven't seen one that didn't involve the path being messed up and the .ini not found. I don't think I've got a path issue. AVD is looking for files on D:\USERS\XXX\.android\avd and that's where the files are. So don't understand why the emulator can't open.

我已经做过类似捞出最基本的东西重新安装的一切,请阅读orace等票据基本上我卡。这里有什么建议?

I've done the most basic things like remove and re-install everything, read the notes at orace etc. Basically I'm stuck. Any suggestions here?

ADT-束窗口-x86_64-20130219 是我装的Windows 7(32位)。

adt-bundle-windows-x86_64-20130219 was what I loaded on Windows 7 (32bit).

我会满足于在移动测试的是连接到电脑,但我不能得到那个工作要么!

I'd settle for testing on the mobile that's connected to the PC but I can't get that to work either!

任何方向AP preciated。

Any direction appreciated.

推荐答案

这个已经被问了几次已经,请尝试以下:

This has been asked a few times already, try these:

中创建一个环境变量:ANDROID_SDK_HOME并将其设置为   C:\用户\管理员打开Eclipse>窗口> preferences并点击   在运行/调试和字符串替换添加一个名为新变量:   的user.home并将其设置到C:\用户\管理员创建一个AVD并运行   吧。

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.

科林原来的答复

一个Android项目成员说:这里:

an android project member says here:

作为一个变通方法,您可以定义环境变量   ANDROID_SDK_HOME指向的目录包含您的.android   目录。模拟器和SDK管理器将正确地把它捡起来。

Andriod Studio AVD 修改存放路径 WIN

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.

 
精彩推荐
图片推荐