How to push files to an emulator instance using Android Studio

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

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

8条回答
  •  礼貌的吻别
    2020-12-23 16:15

    Open command prompt and give the platform-tools path of the sdk. Eg:- C:\Android\sdk\platform-tools> Then type 'adb push' command like below,

    C:\Android\sdk\platform-tools>adb push C:\MyFiles\fileName.txt /sdcard/fileName.txt

    This command push the file to the root folder of the emulator.

提交回复
热议问题