Table of Contents

Steps

Android Studio Run Device Chooser

  • Gradle file: with the debuggable is true
buildTypes {
        debug {
            debuggable true
        }
    }

Env variable

  • The Android SDK android-sdk\platform-tools/ directory must be included in your PATH environment variable.
  • ANDROID_HOME must point to the Android Sdk. Example: C:\Android\sdk

Sqlite

# Android CPU
adb -d shell uname -m
# ex: aarch64
# Get sqlite3 from an emulator with the same architecture
adb -e pull /system/xbin/sqlite3 
# Push it to the USB device
adb -d push sqlite3 /data/local/tmp/sqlite3