Last active
October 22, 2020 05:40
-
-
Save JangSungChul/79976ce2f81a586d478dab51c847ad65 to your computer and use it in GitHub Desktop.
Android関連
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# APKの中身を調べる | |
aapt d xmltree *****.apk AndroidManifest.xml | grep "targetSdkVersion" | |
# 結果は16進数であるため、10進数に変換が必要 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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