Hi, Can you please elaborate your answer? I failed to build an AAR with the instructions in your post/commit.
Regards Erik Den fredag 1 april 2016 kl. 19:03:45 UTC+2 skrev Ying Wang: > > > > On Wed, Mar 30, 2016 at 2:12 AM, adhiti <[email protected] <javascript:>> > wrote: > >> Need information on building AAR package using AOSP build. What are the >> changes required in Android.mk to build AAR package? >> >> For Ex: for static JAR we have include $(BUILD_STATIC_AAR_LIBRARY) >> to build static JAR. >> > The build system automatically sets up rule to build .aar when > you include $(BUILD_STATIC_AAR_LIBRARY) and the library > has LOCAL_RESOURCE_DIR. > See > https://android.googlesource.com/platform/build/+/master/core/static_java_library.mk#133 > > . > But it's not built by default. You need to run something like "make > out/target/common/obj/JAVA_LIBRARIES/<library_name>_intermediates/javalib.aar > to get it built. > > >> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to [email protected] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-building?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Building" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
