I am working on a custom ROM where I need to do some customization in SytemUI (for example, in the status bar). So, here are the steps I'm doing
1. $ . build/envsetup.sh 2. $ lunch 1 // normal emulator 3. $ make -j4
Once my emulator is up and running with jellybean by default 4.2.2 AOSP, I then make some changes to the status bar layout, for example. I change the color bg and then I do
4. $ mmm frameworks/base/packages/SystemUI
So, how can I update this SystemUI apk on a running emulator / device? What are all the other apkas required with the SystemUI apk during its upgrade?
Note This case will be valid for real devices, where I want to send the SystemUI.apk OTA update to users of this device, i.e. currently what Google is doing for a gaming application in the market (automatically updated without the need to reboot the device).
Therefore, please suggest how to do this in these two contexts (emulator and real device scenarios).
I already tried using adb commands with
$ adb install -r out/target/product/generic/system/app/SystemUI.apk on the emulator, but it gives an INSTALL_FAILED_DEXOPT error
Help rate!
source share