I am offen confused with Dex Optimization details. Here are few details i know of.

Kindly correct me if i am wrong ? While exploring the source code, i found that package manager scanns all the external libraries, base frameworks, system packages, and vendor packages for dex optimization.

So, if i understand correct 'dex optimization' can be done both in compilation time and execution time.

Also, surfing in the internet, DISABLE_DEXPREOPT has an impact over this dex optimization when to be done?

Which one do i have to opt?




while building with the below command

make TARGET=<> droid -j6

According to the source code, i understood if .odex is available as part of .jar or apk file, then it ignores dex optimization, while booting.

Kindly correct me if i am wong?. and suggest.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by vhagenes
2 hours ago
Last post by mose93
3 hours ago
Last post by wrenner
57 minutes ago
Last post by cierra39
3 hours ago