美文网首页
android studio下为模拟器添加sdcard

android studio下为模拟器添加sdcard

作者: 世界在脚下vip | 来源:发表于2018-01-30 14:25 被阅读0次

1.想要找到android-sdk的安装目录,在该目录下的tools下查看是否又sdcard.img文件,如果没有的话,在cmd命令行下运行:

 mksdcard 2046M sdcard.img

以上是创建一个2g的sdcard的镜像文件。

2.需要启用该镜像。选择ANDROID Virtual DeviceManager中选择模拟器设备,编辑该配置。

在如图位置指向刚才创建的img文件。

相关文章

网友评论

      本文标题:android studio下为模拟器添加sdcard

      本文链接:https://www.haomeiwen.com/subject/djhczxtx.html