How to use adb command to push a file on device without sd card

后端 未结 13 1731
南笙
南笙 2020-12-04 07:44

How to push a file from computer to an Android device having no SD Card in it. I tried:

C:\\anand>adb push anand.jpg /data/local
3399 KB/s (111387 bytes in         


        
13条回答
  •  醉话见心
    2020-12-04 08:12

    In my case, I had an already removed SDCard still registered in Android. So I longpressed the entry for my old SDCard under:

    Settings | Storage & USB

    and selected "Forget".

    Afterwards a normal

    adb push myfile.zip /sdcard/

    worked fine.

提交回复
热议问题