Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to speed up mm in module making of AOSP

I am working on the contacts app from android open source project. My android version is 2.3.5_r1. And using mm to make the module, but the making speed is quite slow, so i doubt if there is a method to speed up the making.

PS:Actually if i compile this module in eclipse, i will speed up a litter because the auto build feature of eclipse. But i don't like work with eclipse so give it up.

like image 953
Frank Cheng Avatar asked Dec 13 '22 07:12

Frank Cheng


1 Answers

For instance, I use the following command from the root folder of your Android project:

mmm frameworks/base snod -j4

And I think that this is the best choice. Try it but substitute frameworks/base with your project name (relative path where Android.mk is stored).

like image 145
Yury Avatar answered Jan 06 '23 15:01

Yury