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

https://android.googlesource.com/platform/external/dagger2/+/master/Android.bp#51
has an example of using a java_import in a java_plugin module, and
https://android.googlesource.com/platform/external/dagger2/+/master/Android.bp#134
uses it as an annotation processor.


On Mon, Mar 4, 2019 at 4:28 PM Ayush Vijay <[email protected]> wrote:

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

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

Reply via email to