Questions tagged [aar]
AAR (Android Library Archive) is a package file format, similar to APK (Android package) file format, that you can use as a dependency for an Android app module
1,008
questions
0
votes
0
answers
26
views
MissingPluginException when using Flutter module as AAR in native Android project
I have a Flutter module that communicates with native Android code using MethodChannel. When I run the Flutter module independently, everything works fine and the native code is called correctly.
...
0
votes
0
answers
36
views
How To Build A Fat / Uber AAR From Multi Module Kotlin Multiplatform Library Project
I am fairly new to building Kotlin Multiplatform libraries, especially with a multi module setup. Recently I build a Kotlin Multiplatform library which has the following structure:
MyLibrary
│
├── :my-...
2
votes
0
answers
33
views
Do I need to add Proguard rules when developing Android libraries?
Currently, I'm working on an Android library that relies on other libraries like Gson and Glide. Our senior developer mentioned that when using Proguard, we should include Proguard rules for these ...
0
votes
1
answer
43
views
How to build Android app with gradle in AOSP?
AOSP version is 8.1.0.
I have an Android App named Settings. I Develop with Android Studio and pushed it in packages/apps/MySettings.
Directory like this
MySettings
├── AndroidManifest.xml
├── Android....
0
votes
1
answer
44
views
Dexing error when integrating aar file into Flutter app
I have a calcapp.aar file that I want to use in a Flutter app. I created the libs folder inside android/app and added the calcapp.aar file to it -> android/app/libs/calcapp.aar. Then, I added the ...
0
votes
0
answers
26
views
Execution failed for AarToClassTransform - Getting failure while publishing Sdk on jitpack
Getting this exception on jitpack :
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:desugarDebugFileDependencies'.
> Could not resolve all files for ...
0
votes
0
answers
35
views
Convert React Native Project to .AAR or any SDK libraries and add it to Android Project
I am planning to convert my existing React Native Project to .aar or any sdk that can be add to my existing android project. There are no proper documentation regarding this on the documentation, I ...
0
votes
0
answers
41
views
How do I properly include an AAR dependency in another library?
I'm having to build a .aar file for use in Unity. I'm porting over functionality from exist .java files we utilize in Unreal Engine.
However, our code depends on another provided .aar file, to which ...
0
votes
1
answer
65
views
Android - Gradle management of artifacts with different flavors
I have an Android Module that wraps an external library provided by an .aar file.
This lib is imported as follow:
configurations.maybeCreate("default") artifacts.add("default", ...
0
votes
0
answers
20
views
How do you create an Android AAR in .Net?
I can create an Android APK with dotnet new android, but how do I create and AAR from .Net code? Background: I have an Android service written in C# that I want to embed into a Kotlin app, including ...
0
votes
0
answers
32
views
Error compiling Android library in Plugin Flutter: Direct dependencies on local .aar files are not supported
Context:
1 - I have an application in Flutter to which I am doing a payment integration through a plugin in Flutter connecting it with MethodChannel.
2 - I have a plugin in Flutter from where I am ...
0
votes
0
answers
38
views
How to manage third-party dependencies within my local AAR
I have a custom Android library that requires a publicly available third-party dependency, com.opencsv:opencsv. I would like to manage this dependency myself, without requiring my clients to implement ...
0
votes
0
answers
84
views
Lottie animation (lottie-6.4.0.aar) error "ExecutionException: java.lang.NoClassDefFoundError: Failed resolution of: Lokio/Okio" in ATV11 AOSP
We are trying to implement "lottie-6.4.0.aar" library to ATV11 application to AOSP android. App complied successfully but when loading JSON animation file we get following animation. Same ...
0
votes
0
answers
18
views
Android Studio is Not Resolving the Maven Repository AAR Files , Class Files are not available
When I try to Add AAR Dependency in the repository in Maven gradle, the Files are not resolved and Class Files are not available in the External Libraries, when I Inspect the code, only the BuildConif ...
0
votes
0
answers
33
views
Issues with generating AAR library in Android Studio
I have an android project that I want to convert into an .aar library. Inside this project, I am using some google libraries as well as my own SDK library as an aar. Here is the build.gradle below.
I ...