How do I add an 'aar' to my existing android project in Android Studio -


i have aar module name of app-debug.aar. need add in existing android project. using android studio 1.2.2. have tried lot of approaches suggested these

how manually include external aar package using new gradle android build system

when trying use answers in post, come across issue

error:execution failed task ':app:processicanpaydebugresources'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command '/users/shaik/library/android/sdk/build-tools/21.1.2/aapt'' finished non-zero exit value 1 

and when seacrched came know had add

 defaultconfig {         multidexenabled true     } 

but still same error , not successful in adding aar module project. can let me know how can achieve it. in advance.

i think you're looking (works me): http://kevinpelgrims.com/blog/2014/05/18/reference-a-local-aar-in-your-android-project/


Comments

Popular posts from this blog

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -

apache - setting document root in antoher partition on ubuntu -

java - Updating to mongo 3.0 -