Skip to content

Instantly share code, notes, and snippets.

@james-see
Created October 5, 2022 15:29
Show Gist options
  • Save james-see/1ee5ff44aed59f07b5bc741bf359d66a to your computer and use it in GitHub Desktop.
Save james-see/1ee5ff44aed59f07b5bc741bf359d66a to your computer and use it in GitHub Desktop.
adb forgetmenot on how to load apk and connect qandroid devices
#### This is as of 2022 October the way to run adb commands. ####
#### I don't want to have to duckduckgo these commands again. ####
# pre req
brew install android-platform-tools
adb devices
# * daemon not running; starting now at tcp:5037
# * daemon started successfully
# List of devices attached
####
adb connect 192.200.1.39
# connected to 192.200.1.39:5555
####
adb install app-debug.apk
####
adb shell
# oriole:/ $ ls
# acct d init odm sdcard system_ext
# apex data init.environ.rc odm_dlkm second_stage_resources vendor
# bin data_mirror linkerconfig oem storage vendor_dlkm
# bugreports debug_ramdisk lost+found postinstall sys
# cache dev metadata proc system
# config etc mnt product system_dlkm
####
adb shell pm list packages com.example.myfirstapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment