Posts

Showing posts with the label Aar

Create Aar File In Android Studio

Answer : If your library is set up as an Android library (i.e. it uses the apply plugin: 'com.android.library' statement in its build.gradle file), it will output an .aar when it's built. It will show up in the build/outputs/aar/ directory in your module's directory. You can choose the "Android Library" type in File > New Module to create a new Android Library. Retrieve exported .aar file from local builds If you have a module defined as an android library project you'll get .aar files for all build flavors (debug and release by default) in the build/outputs/aar/ directory of that project. your-library-project |- build |- outputs |- aar |- appframework-debug.aar - appframework-release.aar If these files don't exist start a build with gradlew assemble for macOS users ./gradlew assemble Library project details A library project has a build.gradle file containing apply plugin: com.android....