Annotation processor and Aar files in android.bp files

1,107 views
Skip to first unread message

Ayush Vijay

unread,
Mar 4, 2019, 7:28:33 PM3/4/19
to android-...@googlegroups.com
Hey there,

I am trying to add aar file import though android_library_import {name:... , aars: []} and for some reason it's not importing res files. I had to extract aar into res and jars to make it work. Does anyone have figured out how to import complete aars?

I am also having issues with importing annotationprocessor (butterknife). I am importing it as regular jar import but unfortunately annotations are not working. Anyone tried anything similar and found the fix?

- Ayush

Colin Cross

unread,
Mar 4, 2019, 10:32:07 PM3/4/19
to android-...@googlegroups.com
android_library_import is used with aars with resources in the build, for example see https://android.googlesource.com/platform/prebuilts/sdk/+/master/current/androidx/Android.bp#1359 produces a bunch of resources in its intermediates directory at out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.slice_slice-core-nodeps/android_common/.



--
--
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

---
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 android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages