Illegalstateexception:buildtoolsversion Is Not Specified
My project is comprised of two modules, one is the application module and the other is a library module. My build processes works fine until I added two gradle plugins : This is th
Solution 1:
OK, after a lot searchings about this issue, I finally worked it out.
I'm using Gradle 2.14, so I need to change
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
to
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
There are a lot of differences, and here we can see more details.
Solution 2:
I had that error until I shorten the version code length from "2017041201" to 8 characters number:
android-versionCode="20170412"
Solution 3:
This question is old, but I found it because I was having this problem -
For some reason I got this error from Cordova/Ionic when installing a plugin.
It was fixed when I typed the command
ionic plugin add foo
instead of (leading space)
ionic plugin add foo
Solution 4:
i have a same issue, and the problem was that have dot in android-versionCode,
like: android-versionCode="10001.1"
Solution 5:
You are missing mavencentral() in repository dependency. Maybe that is causing the issue
repositories {
mavenCentral()
}
Post a Comment for "Illegalstateexception:buildtoolsversion Is Not Specified"