Is it possible to put the library (aar) in the Android library (aar) and use it?

I tried to make a library (aar) containing a library (aar) ...

〇Result

・ You can't do it normally! -Compile passes, but the dependency is unknown, and when using it in a project, it fails with NoClassDefFoundError when using the library. -If you include a library called android-fat-aar, you can merge dependencies, but it has not been developed and has not been updated for 2 years (https://github.com/adwiv/android- fat-aar) -You can do it by uploading the aar integrated in the Maven repository and the packed aar and setting the dependency in pom.xml, but it is not very smart and troublesome ・ If you put the integrated aar and the packed aar in libs and pass the path to both, it will not fall, but this is also not smart

〇Reference

Android Studio Create AAR using another AAR file and jar inside(stack overflow) https://stackoverflow.com/questions/40405465/android-studio-create-aar-using-another-aar-file-and-jar-inside

〇Finally

Please let me know if you have a good idea

Recommended Posts

Is it possible to put the library (aar) in the Android library (aar) and use it?
Add the pre-built jar library to Android and call it in the framework
3 ways to import the library in Android Studio
I want to morphologically analyze the log in the DB and put it in the DB to classify messages 1
It is difficult to use the empty string or date of DBUnit, so fix it and use it.
Steps to install Maven on Mac and use it in Eclipse
[Java] Use cryptography in the standard library
Java to C and C to Java in Android Studio
How to use ExpandableListView in Android Studio
If it is Ruby, it is efficient to make it a method and stock the processing.
[Ruby] Learn how to use odd? Even? And count the even and odd numbers in the array!
Java: Download the file and save it in the location selected in the dialog [Use HttpClient]
If the parameter is an array, how to include it in Stopara's params.permit
Use the JDK used in Android Studio in the terminal
Get YouTube video information with Retrofit and keep it in the Android app.
Put NVIDIA + Ubuntu + Docker + Tensorflow + ROS2 etc. in the first PC and make it as Mac-like as possible [Updating]
[Java] Is it unnecessary to check "identity" in the implementation of the equals () method?
[Ruby] When you want to assign the result obtained by conditional branching to a variable and put it in the argument
[Swift] If the support of the application is iOS 11 or later, it was not necessary to use Int and Int64 properly
Get the value from the array and find out what number it is included in
What to do when "Fail to load the JNI shared library" is displayed in Eclipse
Import the instance and use it on another screen
How to use Z3 library in Scala with Eclipse
Bind the request to any class and receive it
[Android Studio] I want to use Maven library on Android
Java classes and instances to understand in the figure
How to use JDD library in Scala with Eclipse
[Swift] Use UserDefaults to save data in the app
A story that solved the problem that the Java (jdk) version was too high to use the h2o library in R and R Studio.
How to perform a specific process when the back button is pressed in Android Fragment
How to add another project as Maven library with CircleCI and use it for build
How to solve the problem when the value is not sent when the form is disabled in rails and sent
Changing the debug build signature of the android app to the release signature is useful in many ways.
In Swift, when JSON purge, it is passed in the snake case and troublesome coping method
Click the [rails] button to create a random alphanumeric password and enter it in the password field
How to use the getter / setter method (in object orientation)
How to use OpenCV 4 on Android and view camera live view
Use collection_select to pull down the data stored in Active_Hash
Library to check if it is an IPv4 format string
Refer to C ++ in the Android Studio module (Java / kotlin)
[Android, Java] Convenient method to calculate the difference in days
Android app to select and display images from the gallery
How to create a placeholder part to use in the IN clause
[Code golf] Deflate the code and submit it to AtCoder [Compressed golf]
Contributed to Gradle and was named in the release notes
[Java] Use ResolverStyle.LENIENT to handle the date and time nicely
I tried to make it possible to set the delay for the UDP client of Android by myself
[Android] Try to display the effect on the touched part of the screen, which is common in games.
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
Settings to be made when HTML or JSP is formatted in Eclipse and the layout is disappointing
In order not to confuse the understanding of getters and setters, [Do not use accessors for anything! ]
Since the Rspec command is troublesome, I tried to make it possible to execute Rspec with one Rake command
If you want to mock a method in RSpec, you should use the allow method for mock and the singleton method.
Code to specify the image name as a character string and paste it into ImageView (android)
Is it an Android app?
Is it possible to automatically generate Getters / Setters with Java Interface?
It doesn't respond to the description in .js of the packs file
When I try to put centos in VMware, pane is dead
Android --Is the order of serial processing and parallel processing of AsyncTask guaranteed? ??
Use Docker and Keycloak to specify the access token and execute the API
Use Modifier # isStatic to determine if the [Reflection] method is static.