In AVD emulator how to see sdcard folder? and Install apk to AVD?

后端 未结 10 1298
旧巷少年郎
旧巷少年郎 2020-12-12 17:58

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.

相关标签:
10条回答
  • 2020-12-12 18:41

    I have used the following procedure.

    Android Studio 3.4.1

    View>Tool Windows>Device File Explorer

    0 讨论(0)
  • 2020-12-12 18:49
    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/

    refer to image belowenter image description here


    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
    
    0 讨论(0)
  • 2020-12-12 18:49

    DDMS is deprecated in android 3.0. "Device file explorer"can be used to browse files.

    0 讨论(0)
  • 2020-12-12 18:49

    Drag & Drop

    To install apk in avd, just manually drag and drop the apk file in the opened emulated device

    The same if you want to copy a file to the sd card

    0 讨论(0)
提交回复
热议问题