在 AVD 模拟器中如何查看 sdcard 文件夹并将 APK 安装到 AVD? [英] In AVD emulator how to see sdcard folder and install an APK to the AVD?

查看:22
本文介绍了在 AVD 模拟器中如何查看 sdcard 文件夹并将 APK 安装到 AVD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个 Android 模拟器(Android 虚拟设备),但是我无法找到我在创建此模拟器时构建的 SD 卡.

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.

如何找到 SD 卡及其内容以及如何将 APK 文件安装到 AVD?

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

推荐答案

  1. 切换到 DDMS 视角
  2. 设备 列表中选择您要探索其 SD 卡的模拟器.
  3. 打开右侧的文件资源管理器标签.
  4. 展开树形结构.mnt/sdcard/
  1. switch to DDMS perspective
  2. select the emulator in devices list, whose sdcard you want to explore.
  3. open File Explorer tab on right hand side.
  4. expand tree structure. mnt/sdcard/

参考下面的图片

手动安装apk:将您的 apk 复制到 sdk/platform-tools 文件夹并在同一文件夹中运行以下命令

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

这篇关于在 AVD 模拟器中如何查看 sdcard 文件夹并将 APK 安装到 AVD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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