Download paid apk's

From Geitenpad
Jump to navigation Jump to search

https://stackoverflow.com/questions/4032960/how-do-i-get-an-apk-file-from-an-android-device

1. Gebruik Gigaset GS290 om te installeren 2. Sluit aan via usb enable usb debugging 3. 1) Determine the package name of the app, e.g. "com.example.someapp". Skip this step if you already know the package name.

adb shell pm list packages

4. Get the full path name of the APK file for the desired package.

adb shell pm path com.example.someapp

5. Using the full path name from Step 2, pull the APK file from the Android device to the development box.

adb pull /data/app/com.example.someapp-2.apk path/to/desired/destination

6. Wissel van telefoon

7. Upload via file transfer en installeer apk

Bij gesplitte apks

1. list paths

adb shell pm path de.program_co.benclockradioplusplus
 
package:/data/app/…/base.apk
package:/data/app/…/split_config.armeabi_v7a.apk
package:/data/app/…/split_config.en.apk

2. pull

for f in $(adb shell pm path de.program_co.benclockradioplusplus | sed 's/package://'); do
   adb pull "$f"
done

3. install

adb install-multiple base.apk split_config*.apk