When I build CM7 's system app (eg. ADWLauncher) , I switch to ADWLauncher's folder and run "mm" command, then I get .apk and .odex file, How can I just get .apk file with dex in it. I mean should I change somewhere in Android.mk or generic.mk to let the compilation just result apk file which can instsall directly.
Asked
Active
Viewed 2,955 times
4
-
2And how did you do this? – skayred Mar 14 '12 at 18:06
-
I'd like to know the answer too... – thom_nic Jun 15 '12 at 00:07
3 Answers
0
This usually happens (at least to me) when I have not declared a device I'm building for with breakfast
. For example, without running breakfast hammerhead
, I got Dialer.apk
and arm/Dialer.odex
in the output directory. Furthermore, the device refused to run the binary, even after putting the .odex
file in place.
Running breakfast
first causes make
to generate a single proper Dialer.apk
that installs cleanly (using adb root
/remount
/push
) on my device.

George Hilliard
- 15,402
- 9
- 58
- 96