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

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -