Skip to content

Instantly share code, notes, and snippets.

@aldemirenes
aldemirenes / android_build_run.sh
Last active September 19, 2024 14:34
Shell scripts for Android development without needing to use Android Studio
#!/bin/sh
package_name=$1
./gradlew assembleDebug
adb -d install -r app/build/outputs/apk/app-debug.apk
adb shell monkey -p "$package_name" -c android.intent.category.LAUNCHER 1
./logcat.sh "$package_name"