I'm following the instructions on Android Developer website to import a AAR file as a module. I'm using the instructions under "Add your library as a dependency." I browse to select my .aar file, but the 'Next' and 'Finish' buttons are disabled. I don't see any error messages. Any ideas? Thanks in advance.
I select the .aar file by browsing for it, so the path is correct.
Buttons are disabled, although there are no error messages.
Navigate to File > Project Structure > Dependencies. In the Declared Dependencies tab, click and select Library Dependency in the dropdown. In the Add Library Dependency dialog, use the search box to find the library to add.
To add a dependency to your project, specify a dependency configuration such as implementation in the dependencies block of your module's build.gradle file.
Figured it out right after posting it. My project gradle sync errors, so I had to fix those first before I was allowed to import the project. As soon as I fixed that and synced I was able to import the project.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With