LoginSignup
1
1

More than 3 years have passed since last update.

Android で 実機に入っている AndroidManifest.xml を抜く

Last updated at Posted at 2019-06-11
$ adb devices
List of devices attached
XXXXXXXXX        device
emulator-5554   device

$ adb -s XXXXXXXX shell \
  'pm list packages | grep uber | grep eats | cut -d: -f2 | xargs pm path | cut -d: -f2' \
  | xargs -I __ adb -s XXXXXXXX pull __ /tmp/ubereats.apk

$ aapt dump xmltree /tmp/ubereats.apk AndroidManifest.xml > AndroidManifest.txt

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

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1