I have tried "mmm" under the path of frameworks/base.
But I have never got the result I wanted.
Is there any one who has successfully builded the framework of android?
I think it will make a new framework.jar into the path of
/out/debug/target/product/{my-phone}/system/framework
Can any one help me ? It is a strange problem .
-
are you building generic? i have never tried on framework, though it does work on appsnandeesh– nandeesh2012年09月08日 10:10:53 +00:00Commented Sep 8, 2012 at 10:10
-
I just want to build the path of frameworks/base to get the frameworks.jar and then push it into my mobilephone .Chalong– Chalong2012年09月08日 10:14:58 +00:00Commented Sep 8, 2012 at 10:14
-
what is {my-phone} here? is it generic. If its some thing else i think you need to use mm PRODUCT-{my-phone}-eng . The last part eng depends on the full build , if its user make it usernandeesh– nandeesh2012年09月08日 10:18:12 +00:00Commented Sep 8, 2012 at 10:18
-
I have just tried to use mm PRODUCT T34hat(the name of my phone).Chalong– Chalong2012年09月08日 10:22:51 +00:00Commented Sep 8, 2012 at 10:22
-
mm PRODUCT-T34hat-eng or PRODUCT-T34hat-user or PRODUCT-T34hat-userdebug. It should be one of the above. add hyphen in the middlenandeesh– nandeesh2012年09月08日 10:24:13 +00:00Commented Sep 8, 2012 at 10:24
2 Answers 2
Try using make instead of mmm. make will not take much time if you have already build the system image..
Comments
i usualy use "make -j4" to build Android source, framework.jar will be put in out/target/product/generic/system/framework. In my experience, 'mmm' can not used to build framework, I just use it to build system applications