How to push files to an emulator instance using Android Studio

前端 未结 8 469
温柔的废话
温柔的废话 2020-12-23 15:34

How am I able to push .txt files to the emulator using Android Studio?

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-23 16:24

    You can use the ADB via a terminal to pass the file From Desktop to Emulator.

    adb push  
    

    You can also copy file from emulator to Desktop

    adb pull  
    

    How ever you can also use the Android Device Monitor to access files. Click on the Android Icon which can be found in the toolbar itself. It'll take few seconds to load. Once it's loaded, you can see a tab named "File Explorer". Now you could pull/push files from there.

提交回复
热议问题