libraries - Android Import library error DefaultGroovyMavenDeveloper -


i'm newbie android app developer using android studio, , trying use sticky list headers https://github.com/emilsjolander/stickylistheaders. file -> new -> import module , add dependency. getting error

error:no such property: group class: org.gradle.api.publication.maven.internal.deployer.defaultgroovymavendeployer 

my project build.gradle is:

apply plugin: 'com.android.application'  android {     compilesdkversion 23     buildtoolsversion "23.0.1"      defaultconfig {         applicationid "testingapp.dylanzammit.com.anothernewproj"         minsdkversion 21         targetsdkversion 23         versioncode 1         versionname "1.0"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     testcompile 'junit:junit:4.12'     compile 'com.android.support:appcompat-v7:23.0.1'     compile 'se.emilsjolander:stickylistheaders:2.7.0' } 

if want add libraries project in android studio, can in 3 different ways. please read link https://stackoverflow.com/a/35369267/5475941. in post explained how import jar files in android studio , explained possible ways step step screenshots. hope helps.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -