I have created a library module in my project. Now, I want to share/publish this library with others. Sharing a .aar file would be fine for now.
I went through the article - https://developer.android.com/studio/projects/android-library and found the following options.
- When you want to build the AAR file, select the library module in the Project window and then click Build > Build APK.
- However, if you want to share your AAR file separately, you can find it in project-name/module-name/build/outputs/aar/ and you can regenerate it by clicking Build > Make Project.
I have tried these two options, but couldn't find /aar folder in the path project-name/module-name/build/outputs/
This is the first time I am building a library that needs to be shared with others.
Is there something else I need to do? Please share your thoughts.