Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable "Next" or "Finish" button in Android Studio when adding Android library as a dependency

Tags:

android

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.

enter image description here

I select the .aar file by browsing for it, so the path is correct.

'Next' and 'Finish' buttons are disabled

Buttons are disabled, although there are no error messages.

like image 740
Martin Avatar asked Apr 11 '17 19:04

Martin


People also ask

Where should I add library in Android Studio?

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.

In which configuration file do we add the required dependencies?

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.


1 Answers

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.

like image 91
Martin Avatar answered Sep 30 '22 20:09

Martin