Solution To: Gradle DSL method not found: 'compile()'



1) Open the file build.gradle (Module:app)
2) Add the following lines to the dependencies section (look at the example above).

compile 'com.android.support:cardview-v7:21.0.+'compile 'com.android.support:recyclerview-v7:21.0.+'

Post a Comment

0 Comments