在AVD模拟器怎么看SD卡的文件夹?并安装APK到AVD?模拟器、怎么看、并安装、文件夹

2023-09-13 02:29:19 作者:秽

我已经创建了一个 Android模拟器( Android虚拟设备的),但我无法找出SD卡我已经创造了这个时期建造。

我如何才能找到SD卡,其内容以及如何安装 APK 文件的 AVD

解决方案 开关为 DDMS 透视 选择在设备列表,你想探索其SD卡的模拟器。 开启文件浏览器在右侧的标签。 展开树状结构。 MNT / SD卡/

请参考图片下方

要APK手动安装: 复制你的apk向SDK /平台工具文件夹,运行以下命令在同一文件夹

  ADB安装apklocation.apk
 

在android虚拟机AVD上安装apk应用

I have created an Android emulator (Android Virtual Device), but I am unable to find out the SD card I have built during creation of this.

How can I find the SD card and its content and also how to install APK files to the AVD?

解决方案

switch to DDMS perspective select the emulator in devices list, whose sdcard you want to explore. open File Explorer tab on right hand side. expand tree structure. mnt/sdcard/

refer to image below

To install apk manually: copy your apk to to sdk/platform-tools folder and run following command in the same folder

adb install apklocation.apk