android - A issue occurred evaluating project ':ActionBarSherlock' -


when try sync project got below error ,what wrong in gradle file 

error: problem occurred evaluating project ':actionbarsherlock'.

failed apply plugin [id 'com.android.library'] plugin id 'com.android.library' not found.

build.gradle:

 apply plugin: 'com.android.library'  dependencies { compile filetree(dir: 'libs', include: '*.jar') }  android { compilesdkversion 17 buildtoolsversion "23.0.0"     sourcesets {     main {         manifest.srcfile 'androidmanifest.xml'         java.srcdirs = ['src']         resources.srcdirs = ['src']         aidl.srcdirs = ['src']         renderscript.srcdirs = ['src']         res.srcdirs = ['res']         assets.srcdirs = ['assets']     }      // move tests tests/java, tests/res, etc...     instrumenttest.setroot('tests')      // move build types build-types/<type>     // instance, build-types/debug/java, build-types/debug  /androidmanifest.xml, ...     // moves them out of them default location under src/<type>/...     // conflict src/ being used main source set.     // adding new build types or product flavors should accompanied     // similar customization.     debug.setroot('build-types/debug')     release.setroot('build-types/release')  }  } 


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -