Can I get the apk file from the Android device?

Asked 2 years ago, Updated 2 years ago, 135 views

Can I get the apk file from the Android device? Or how do I send an apk from the device to the system?

android adb apk

2022-09-22 22:28

1 Answers

Use the adb. If the device is connected to USB, you can move the files on the device to adb. Of course, you have to allow access to the device files. Otherwise, you must first obtain root privileges for the device.

1) adb shell pm list packages If you know the package name, you don't have to do this. 2) If you do number one, you'll know the package name. With that adb shell pm path com.example.someapp You can do it. 'com.example.someapp' is the package name. If you do this, package:/data/app/com.example.someapp-2.apk will be printed.

3) adb pull /data/app/com.example.someapp-2.apk You can do it.


2022-09-22 22:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.