Why is there no classes.dex in apk

1,094 views
Skip to first unread message

fycd

unread,
Jan 9, 2012, 11:45:56 PM1/9/12
to android-d...@googlegroups.com, andro...@googlegroups.com
hi all
I get a strange problem. I repo sync gingerbread in my mobile hard disk.
After make Email, I find that there is no classes.dex in Email.apk.
does anyone know how?

any suggestion will be appreciate.

Ying Wang

unread,
Jan 10, 2012, 4:29:23 PM1/10/12
to andro...@googlegroups.com, android-d...@googlegroups.com
If dex-preoptimization is enabled (it's enabled by default in user builds),
an .odex file (Email.odex in your case, just next to Email.apk) will be generated from the classes.dex and the original classes.dex is stripped from the apk.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

fycd

unread,
Jan 10, 2012, 10:28:56 PM1/10/12
to andro...@googlegroups.com, android-d...@googlegroups.com
hi Ying:

Thanks for your information. 

I have built a right apk file after andding "LOCAL_DEX_PREOPT=false" in my Android.mk

Thanks.


2012/1/11 Ying Wang <wang...@android.com>
Reply all
Reply to author
Forward
0 new messages