Android模拟器错误:[2011-08-02 11时十四分01秒 - 模拟器]惊慌:无法打开C:\用户\你好\ .android / AVD / myemu.ini [英] android emulator error:[2011-08-02 11:14:01 - Emulator] PANIC: Could not open: C:\Users\hallo\.android/avd/myemu.ini

查看:180
本文介绍了Android模拟器错误:[2011-08-02 11时十四分01秒 - 模拟器]惊慌:无法打开C:\用户\你好\ .android / AVD / myemu.ini的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是初学者的Andr​​oid应用程序开发人员。我在Eclipse中做很多的应用程序在仿真器和设备也。但现在它是在模拟器上运行项目的时候给错误。它正在对设备的手机,但在模拟器它给以下错误:

I am beginner android application developer. I have done lot of apps in eclipse on emulator and device also. But now it is giving error at the time of running project on emulator. It is working on device phone but on emulator it is giving following error:

[2011-08-02 11:14:00 - hello1] ------------------------------

[2011-08-02 11:14:00 - hello1] Android Launch!

[2011-08-02 11:14:00 - hello1] adb is running normally.

[2011-08-02 11:14:00 - hello1] Performing com.mahiways.Hello1.Hello1Activity activity launch

[2011-08-02 11:14:00 - hello1] Automatic Target Mode: launching new emulator with compatible AVD 'myemu'

[2011-08-02 11:14:00 - hello1] Launching a new emulator with Virtual Device 'myemu'

[2011-08-02 11:14:01 - Emulator] PANIC: Could not open: C:\Users\hallo\.android/avd/myemu.ini

我该如何解决这个问题呢?

How can I solve this problem?

推荐答案

这是在ADT插件的错误。对于解决办法,直到它固定使用NTFS符号链接。

This is a bug in the ADT Plugin. For a workaround until it is fixed use a NTFS symbolic link.

我有一个C:驱动器的Windows 7和一个D:盘为我所有的工作和数据。安装后的Windows 7迁移我从C我所有的特殊文件夹:\用户\李四到D:\李四。 ADT插件试图加载从C仿真器:当它和配置文件在D:(惊慌:无法打开等)。 NTFS可以得到ADT插件从D到阅读:使用NTFS符号链接。在C中打开命令提示符:\用户\李四(显然用自己的用户名),使用MKLINK命令

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"

现在,当ADT插件试图引用.android在C:NTFS将请求发送到D:和仿真器正常启动

Now when the ADT plugin is trying to reference .android on C:, NTFS sends the request to D: and the emulator starts correctly.

这篇关于Android模拟器错误:[2011-08-02 11时十四分01秒 - 模拟器]惊慌:无法打开C:\用户\你好\ .android / AVD / myemu.ini的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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