java.lang.IllegalStateException: buildToolsVersion is not specified.

GitHub | zesme | 5 months ago
  1. 0

    GitHub comment 872#233135016

    GitHub | 5 months ago | zesme
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  2. 0

    Problems building a cordova android app on mac

    Stack Overflow | 10 months ago | Alex
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ionic build android -- no build tools found

    GitHub | 8 months ago | moeinrahimi
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  5. 0

    ionic build android -- no build tools found

    GitHub | 8 months ago | jgw96
    java.lang.IllegalStateException: buildToolsVersion is not specified.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    buildToolsVersion is not specified.

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:176)
    1 frame
  3. com.android.tools.build.gradle
    BasePlugin$10$1.call
    1. com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:599)
    2. com.android.build.gradle.BasePlugin$10$1.call(BasePlugin.java:566)
    3. com.android.build.gradle.BasePlugin$10$1.call(BasePlugin.java:563)
    3 frames
  4. com.android.builder
    ThreadRecorder$1.record
    1. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:55)
    2. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:47)
    2 frames
  5. com.android.tools.build.gradle
    BasePlugin$10.execute
    1. com.android.build.gradle.BasePlugin$10.execute(BasePlugin.java:562)
    2. com.android.build.gradle.BasePlugin$10.execute(BasePlugin.java:559)
    2 frames
  6. Gradle Core
    ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
    1. org.gradle.listener.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:109)
    2. org.gradle.listener.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:98)
    3. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
    4. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
    5. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    5 frames
  7. com.sun.proxy
    $Proxy12.afterEvaluate
    1. com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)
    1 frame
  8. Gradle Core
    DefaultGradleLauncher.run
    1. org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:79)
    2. org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:65)
    3. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)
    4. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)
    5. org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
    6. org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
    7. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)
    8. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
    9. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
    9 frames
  9. Gradle Launcher
    ForwardClientInput$2.call
    1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
    2. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
    3. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
    4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
    5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
    6. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:47)
    7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
    8. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    9. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:35)
    10. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    11. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24)
    12. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    13. org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33)
    14. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    15. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:71)
    16. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:69)
    16 frames
  10. Gradle Core
    Swapper.swap
    1. org.gradle.util.Swapper.swap(Swapper.java:38)
    1 frame
  11. Gradle Launcher
    DaemonStateCoordinator$1.run
    1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:69)
    2. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    3. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
    4. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
    5. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    6. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:70)
    7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
    8. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    9. org.gradle.launcher.daemon.server.exec.DaemonHygieneAction.execute(DaemonHygieneAction.java:39)
    10. org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
    11. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:46)
    12. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
    12 frames
  12. Gradle Core
    DefaultExecutorFactory$StoppableExecutorImpl$1.run
    1. org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
    1 frame
  13. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames