android - Error - "Gradle DSL method not found: compile()" while adding recyclerview -


this question has answer here:

i want use recyclerview in app. added "complie 'com.android.support:recyclerview-v7:23.3.0'" in app level build.gradle file. getting error - error:(26, 0) gradle dsl method not found: 'complie()' possible causes:

  • the project 'rview' may using version of gradle not contain method. open gradle wrapper file
  • the build file may missing gradle plugin. apply gradle plugin
  • here build.gradle file-

    apply plugin: 'com.android.application' android { compilesdkversion 23 buildtoolsversion "23.0.3"  defaultconfig {     applicationid "com.sid.rview"     minsdkversion 15     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.3.0' complie 'com.android.support:recyclerview-v7:23.3.0' } 

    while copying compile links website , please write compile many websites have different character encoding android studio. problem first c in compile method


    Comments

    Popular posts from this blog

    mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

    java - Sending SMS with SMSLib and Web Services -

    java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -