Skip to content

Instantly share code, notes, and snippets.

@imandaliya
Created February 22, 2024 07:06
Show Gist options
  • Save imandaliya/4ad780dee55cc9408061ad95f6ab3e04 to your computer and use it in GitHub Desktop.
Save imandaliya/4ad780dee55cc9408061ad95f6ab3e04 to your computer and use it in GitHub Desktop.
// https://medium.com/@mirzahssn/create-aar-file-in-android-e1ff009ba899
To create AAR
you need to Rebuild Project using android studio OR
just type command in terminal
./gradlew build
./gradlew assemble
create folder(lib_my_settings_aar) and paste AAR file
create build.gradle in folder (lib_my_settings_aar)
Paste in build.gradle
configurations.maybeCreate("default")
artifacts.add("default", file('lib_my_settings_aar.aar'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment