Paul Joseph Dar Santos February 2016
Material Design build.gradle error
I have a problem in my
build.gradle file, the
buildToolsVersion doesn't match.
Here is my
apply plugin: 'com.android.application'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
preDexLibraries = false
compile fileTree(dir: 'libs', include: ['*.jar'])
And here is my error:
I think it is the
buildToolsVersion and the dependencies are causing the problem.
pratik gaikwad February 2016
please set targetSdkVersion 23 and dependencies
Shree Krishna February 2016
I was having the same problem, What I did is
- First be sure that you have API level 23 (marshmallow/ android 6) installed.
compileSdkVersion to 23 and dependencies libraries also to greater than 23.
- Clean and build the project.
Gabriele Mariotti February 2016
Since you are using
You have a dependency with the support libraries v.23, also if you are declaring v22.
It means that you have to compile with api 23.
Otherwise use an older version of the
Asked in February 2016
Viewed 2,615 times
Answered 4 times
Leave an answer
Quote of the day: live life