Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download Android APK file from Fabric Beta

Is it possible to download the Android APK file from Fabric Beta? We have multiple releases uploaded.

like image 422
awardak Avatar asked Jun 19 '17 20:06

awardak


2 Answers

Late answer but someone may need this. You can download it in a hacky way from devices that apps install by Beta or any way:

Connect the device to your computer and run the following command, ensure that you have configured the adb correctly:

adb shell pm list packages | grep xyz          # get the package name of the app
adb shell pm path app.xyz.stg                  # get the path of the app
adb pull /data/app/app.xyz.stg/base.apk .      # pull the app to PWD

the name of the app is base.apk, change it to xyz. This can be used for the same device.

like image 125
Mesut GUNES Avatar answered Oct 31 '22 18:10

Mesut GUNES


Mesut's answer is correct. Just to make it more clear.

  1. adb shell pm path ${package_name}

  2. adb pull /data/app/${package_name_2}/base.apk

In the second command, the value ${package_name_2}/base.apk is from the first command. Sometimes it's not exactly the package name.

In my case, it's ${package_name}-1/base.apk

like image 38
wei wang Avatar answered Oct 31 '22 18:10

wei wang