简体   繁体   English

Android Emulator在哪里存储SD卡文件?

[英]Where does the Android Emulator store the SD-Card files?

I want to make two emulators use the same SD-Card image. 我想让两个模拟器使用相同的SD卡图像。 I automatically created a SD-Card in the first emulator and downloaded all the data to this SD-Card. 我在第一个仿真器中自动创建了SD卡,并将所有数据下载到该SD卡。

How can I load this SD-Card in another emulator? 如何在另一个模拟器中加载此SD卡? I don't want to recreate all the data on the SD-Card for every single emulator all the time. 我不想一直为每个模拟器重新创建SD卡上的所有数据。

Got it. 得到它了。

The android tools create an .android folder in your users home folder. android工具在用户主文件夹中创建一个.android文件夹。 This folder contains an avd folder in which a separate folder for each virtual device exists. 此文件夹包含一个avd文件夹,其中存在每个虚拟设备的单独文件夹。 In each of this folders a file called sdcard.img should be present. 在每个文件夹中都应该存在一个名为sdcard.img的文件。 This file contains the automatically created sd card image for this AVD. 此文件包含此AVD自动创建的SD卡图像。

路径通常是/ mnt / sdcard

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM