java.lang.IllegalStateException

buildToolsVersion is not specified.


Samebug tips1

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web19476

Solution icon of github
via GitHub by benmarten
, 7 months ago
buildToolsVersion is not specified.

Solution icon of github
via GitHub by KnightYe
, 7 months ago
buildToolsVersion is not specified.

Solution icon of github
via GitHub by deathbaba
, 1 year ago
buildToolsVersion is not specified.

Solution icon of github
via GitHub by le0nidas
, 10 months ago
buildToolsVersion is not specified.

Solution icon of github
buildToolsVersion is not specified.

Solution icon of github
buildToolsVersion is not specified.

Solution icon of googlegroups
via Google Groups by Jonathan, 1 year ago
buildToolsVersion is not specified.

Solution icon of stackoverflow
via Stack Overflow by MessuKilkain
, 11 months ago
buildToolsVersion is not specified.

Solution icon of stackoverflow
buildToolsVersion is not specified.

Solution icon of stackoverflow
buildToolsVersion is not specified.

Stack trace

  • java.lang.IllegalStateException: buildToolsVersion is not specified. at com.google.common.base.Preconditions.checkState(Preconditions.java:173) at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:645) at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608) at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605) at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156) at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
84 more bugmates