Sunday, December 20, 2015

Solving Gradle DSL method not found : 'android()'


Getting "Gradle DSL method not found : 'android()" error, well then you are at right place to solve the things :)


Solution:
  • Open the project top level 'build.gradle' file
  • Remove the below configuration  android() method 

// Delete these lines from project top level 'build.gradle' file
android {
 compileSdkVersion 23
 buildToolsVersion '22.0.1'
}

  • Save the changes and re-compile 

No comments:

AWS Certified Solutions Architect Associate - AWS Introduction - Questions

All the Best !!! Show Result !! Try Again !! ×