Push my apk to /system/app

前端 未结 14 2025
清酒与你
清酒与你 2020-12-02 07:16

How can I push my application package to Android emulator \"/system/app\" folder?

I\'ve already tried to use:
\"adb push myApk.apk /system/app\"
and it giv

相关标签:
14条回答
  • 2020-12-02 07:49

    You need to run adb remount first, then it should let you adb pushto /system folders

    0 讨论(0)
  • 2020-12-02 07:53

    Use below commands from your super user ADB shell. Copy the APK of your APP into your SD card or Internal Storage.

    $ adb shell
    $ su
    $ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system 
    $ cp /sdcard/<Your_APK_PATH> /system/app/file_name_comes_here.apk
    $ chmod 644 /system/app/<YourAPK>.apk
    

    Then reboot the device

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