java.lang.IllegalStateException: buildToolsVersion is not specified.

Stack Overflow | MessuKilkain | 4 months ago
  1. 0

    How to install hugo-weaving gradle plugin?

    Stack Overflow | 4 months ago | MessuKilkain
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  2. 0

    GitHub comment 2084#222307972

    GitHub | 6 months ago | iMakerkaushal
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  3. 0

    GitHub comment 2084#222335953

    GitHub | 6 months ago | deathbaba
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalStateException:buildToolsVersion is not specified

    Stack Overflow | 5 months ago
    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:606)
    2. com.android.build.gradle.BasePlugin$10$1.call(BasePlugin.java:572)
    3. com.android.build.gradle.BasePlugin$10$1.call(BasePlugin.java:569)
    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:568)
    2. com.android.build.gradle.BasePlugin$10.execute(BasePlugin.java:565)
    2 frames
  6. org.gradle.internal
    ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
    1. org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
    2. org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
    3. org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
    4. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
    5. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
    6. org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    6 frames
  7. com.sun.proxy
    $Proxy11.afterEvaluate
    1. com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
    1 frame
  8. Gradle Core
    DefaultGradleLauncher.run
    1. org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
    2. org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
    3. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
    4. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
    5. org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
    6. org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
    7. org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
    8. org.gradle.internal.Factories$1.create(Factories.java:22)
    9. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
    10. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
    11. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
    12. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
    13. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
    14. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
    15. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
    16. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
    17. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
    18. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
    18 frames
  9. Gradle Launcher
    RunBuildAction.run
    1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
    2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
    3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
    5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
    6. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
    7. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
    8. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
    9. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
    10. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
    10 frames
  10. Gradle Core
    Actions$RunnableActionAdapter.execute
    1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
    1 frame
  11. Gradle Launcher
    EntryPoint.run
    1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
    2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
    3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
    4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
    5. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
    6. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
    7. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
    8. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
    9. org.gradle.launcher.Main.doAction(Main.java:33)
    10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
    10 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  13. Gradle Launcher
    GradleMain.main
    1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
    2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
    3. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
    3 frames