Skip to content
diegofreitas edited this page Feb 23, 2014 · 4 revisions

#Build app Contacts

###config environment . build/envsetup.sh lunch full-eng export PATH=/home/diego/dev/jdk6/bin:$PATH

###build app mmm packages/apps/Contacts

###update the system.img with new apk (optional) make snod

###run emulator emulator -partition-size 256 &

###to make possible to write to /system adb remount

###uninstall Contacts.apk adb shell rm /system/priv-app/Contacts.apk

###install the new apk adb install out/target/product/generic/system/priv-app/Contacts.apk

###uninstall again(rm from priv-app only works the first time when run the emulator) adb uninstall com.android.contacts

Clone this wiki locally