Skip to content

Instantly share code, notes, and snippets.

@MichaelEvans
Forked from joninvski/Android cheatsheet
Created August 29, 2014 03:04
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 MichaelEvans/8f30f9c5c88d53cfdadd to your computer and use it in GitHub Desktop.
Save MichaelEvans/8f30f9c5c88d53cfdadd to your computer and use it in GitHub Desktop.
# Write on
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system
# verbose logging in sqlite
adb shell setprop log.tag.SQLiteLog V
adb shell setprop log.tag.SQLiteStatements V
adb shell stop
adb shell start
# Check dependencies of app subproject
$ ./gradlew app:dependencies --configuration "compile"
# Check the properties of the app subproject
$ ./gradlew app:properties
# Indent code with astyle
astyle --style=java --recursive \*.java
#
expect -c '
set timeout -1 ;
spawn android update sdk -u;
expect {
"Do you accept the license" { exp_send "y\r" ; exp_continue }
eof
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment