Search code examples
buildandroid-source

Compile deodexed app from aosp


I'm trying to build a deodexed application from aosp and it works like it was said here CyanogenMod or AOSP: Compile a single project . But mmm outputs odexed app, is there any option to build it deodexed? Also i've included my app in build and when make entire aosp using options DISABLE_DEXPREOPT=true and WITH_DEXPREOPT=false it outputs normal deodexed apk, but it takes too much time to rebuild the entire project every time.


Solution

  • Just look in Android.mk and find module name in LOCAL_MODULE := %module_name% and then execute command make %module_name% DISABLE_DEXPREOPT=true WITH_DEXPREOPT=false.