Skip to content

Instantly share code, notes, and snippets.

@JangSungChul
Last active October 22, 2020 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JangSungChul/79976ce2f81a586d478dab51c847ad65 to your computer and use it in GitHub Desktop.
Save JangSungChul/79976ce2f81a586d478dab51c847ad65 to your computer and use it in GitHub Desktop.
Android関連
# APKの中身を調べる
aapt d xmltree *****.apk AndroidManifest.xml | grep "targetSdkVersion"
# 結果は16進数であるため、10進数に変換が必要
# find ip address
adb shell
ip addr show wlan0
~~~
inet XXX.XXX.XXX.XXX/24~~~~
~~~
exit
## connect Wifi
# change port number
adb tcpip 5555
adb connect XXX.XXX.XXX.XXX:5555
# for disconnect
adb disconnect
# Pull(Download) from Device DB file
# 端末内部のDBファイルをローカルPC側にダウンロードする方法
adb shell run-as [package name] cat [db file full path] | perl -pe 's/\r\n/\n/' > [local file path]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment