question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support .aar dependencies

See original GitHub issue

Upcoming Android SDKs will unbundle their support libraries (.jar, .aar) and host them in https://maven.google.com. See: https://developer.android.com/studio/build/dependencies.html#remote_repositories

Bazel already has maven_aar() defined in @bazel_tools//tools/build_defs/repo:maven.bzl.

To support .aar, we can extend the dependency’s lang: attribute with a new value android and resolve the URL accordingly.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jincommented, Oct 6, 2017

@johnynek feel free to assign this to me, thanks!

0reactions
jincommented, Dec 10, 2018

@Monnoroch sorry, no - did not manage to make any progress.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Direct local .aar file dependencies are not supported
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android ......
Read more >
[RN0.66][Android] Direct local .aar file dependencies are not ...
Description I have 3 rn modules that uses aar files. ... Direct local .aar file dependencies are not supported when building an AAR....
Read more >
Create an Android library - Android Developers
Add your AAR or JAR as a dependency · Navigate to File > Project Structure > Dependencies. · In the Declared Dependencies tab,...
Read more >
Using AAR dependencies in API library projects - DukeScript
The android-maven-plugin provides support for unpacking the AAR, while the “maven-install-plugin” is used to deploy it to th local repo. In our ...
Read more >
Android: How to Include an External .aar File Using Gradle?
If conflicts occur between multiple AAR libraries, then the resource from the library listed first in the dependencies list (toward the top of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found