How to build SDK from AOSP

4,281 views
Skip to first unread message

lee jade

unread,
Jan 2, 2012, 8:52:20 PM1/2/12
to android-...@googlegroups.com
I tried to build the SDK from AOSP through:
    source build/envsetup.sh
    lunch sdk_x86-eng
    make sdk

And get followed error:
build/core/main.mk:674: *** Module 'layoutopt' in PRODUCT_PACKAGES has nothing to install!.  Stop.


I switch to lunch full_x86-eng and get the error :
    build/core/main.mk:674: *** Module 'AlarmProvider' in PRODUCT_PACKAGES has nothing to install!.  Stop.

However, if I use android-sdk-4.0.3_r1 branch (i.e. repo init -u xxxxx -b  android-sdk-4.0.3_r1), seems evryone is working.

So is AOSP supposed to support SDK building?

Thanks

Ron M

unread,
Feb 5, 2012, 7:20:51 PM2/5/12
to android-...@googlegroups.com
I would be very glad to get feedback on this question as well. Ran
into the same problem on AOSP master branch,
and I need to be able to create the SDK as well (to include
Android.jar as a platform for application development, although I am
sure this can be some how workaround with the framework intermediates
but I can't get it right.)

> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en

Ying Wang

unread,
Feb 6, 2012, 2:05:15 PM2/6/12
to android-...@googlegroups.com
It should be fixed by https://android-review.googlesource.com/#/c/31451/.
Anytime you see "Module has nothing to install" in SDK build, you can just remove that module name from the product conguration.

David Ozersky

unread,
Apr 28, 2014, 2:05:47 AM4/28/14
to android-...@googlegroups.com
How do we that?  Where do find the references, and is there a Macro we could use to help filter out the problematic modules?
Reply all
Reply to author
Forward
0 new messages