How to use local aar dependency?

I was getting the same errors.

This was the only thing that helped me:

dependencies {
   compile(name:'nameOfYourAARFileWithoutExtension', ext:'aar')
 }
repositories{
      flatDir{
              dirs 'libs'
       }
 }

Reference: Adding local .aar files to Gradle build using “flatDirs” is not working

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)