热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Android虚拟设备管理器无法找到文件或目录-AndroidVirtualDeviceManagercannotlocatefileordirectory

IamabeginnerwhoissettingupanAVDintheprocessofemulatingwiththeIonicCLI;withthats

I am a beginner who is setting up an AVD in the process of emulating with the Ionic CLI; with that said, after installing all the generic system images and device definitions, I am still not able to create an AVD through the AVD manager.

我是初学者,在使用Ionic CLI进行仿真的过程中设置了AVD;话虽如此,在安装了所有通用系统映像和设备定义之后,我仍然无法通过AVD管理器创建AVD。

Of course, I open the AVD manager in the terminal:

当然,我在终端打开AVD经理:

$ android avd

And the AVD Manager opens - suppose I select the "Nexus 5" device definition, then I would click on "Create AVD" and select proper settings to create a Nexus 5 AVD named 'AVD_for_Nexus_5_by_Google". Once I hit "OK", I am prompted with the following:

并打开AVD管理器 - 假设我选择“Nexus 5”设备定义,然后点击“创建AVD”并选择适当的设置来创建一个名为“AVD_for_Nexus_5_by_Google”的Nexus 5 AVD。一旦我点击“确定”,我就是提示如下:

Result of creating AVD'AVD_for_Nexus_5_by_Google':
~/.android/avd/AVD_for_Nexus_5_by_Google.ini (No such file or directory)

I am well aware that this .ini file does not exist, but what steps should I go about fixing the issue?

我很清楚这个.ini文件不存在,但我应该采取哪些措施来解决这个问题呢?

1 个解决方案

#1


0  

Try this:

$sudo su 
#android avd

I had the same problem. This works for me.

我有同样的问题。这对我有用。


推荐阅读
author-avatar
因为梦想2013
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有