org.gradle.api.GradleException: Must provide Flutter source directory

GitHub | diyoyo | 3 months ago
  1. 0

    Newbie question: changing android build tools in flutter "hello-services" example

    GitHub | 3 months ago | diyoyo
    org.gradle.api.GradleException: Must provide Flutter source directory
  2. 0

    GitHub comment 16362#178485911

    GitHub | 10 months ago | jerry-sjtu
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':distrib ution:integ-test-zip:integTest#stop'.
  3. 0

    Build fail with java7

    GitHub | 1 year ago | esmasui
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':declareParents:compileDebugAspectj'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build fail when first run

    GitHub | 1 year ago | esmasui
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':androidAptIntegration:compileDebugAspectj'.
  6. 0

    Datanucleus enhancement breaks on AppEngine 1.9.40/42

    Stack Overflow | 4 months ago | Tad
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':XXXXXXXX:appengineEnhance'.

    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. org.gradle.api.GradleException

      Must provide Flutter source directory

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    3. Groovy
      AbstractCallSite.callConstructor
      1. org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
      2. org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
      3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
      4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)
      5 frames
    4. org.domokit.sky
      FlutterPlugin.addFlutterTask
      1. org.domokit.sky.gradle.FlutterPlugin.addFlutterTask(FlutterPlugin.groovy:87)
      1 frame
    5. 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
    6. Groovy
      Closure.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1210)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1077)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
      6. groovy.lang.Closure.call(Closure.java:426)
      6 frames
    7. Gradle Core
      ClosureBackedMethodInvocationDispatch.dispatch
      1. org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)
      2. org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)
      2 frames
    8. org.gradle.internal
      BroadcastDispatch.dispatch
      1. org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
      2. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
      3. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
      3 frames
    9. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      1 frame
    10. com.sun.proxy
      $Proxy11.afterEvaluate
      1. com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
      1 frame
    11. 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:510)
      4. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:90)
      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:125)
      8. org.gradle.internal.Factories$1.create(Factories.java:22)
      9. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      10. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
      11. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
      12. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      13. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
      14. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
      15. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      16. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
      17. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
      18. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
      18 frames
    12. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
      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:43)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      6. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
      7. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
      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
    13. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
      1 frame
    14. Gradle Launcher
      EntryPoint.run
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
      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.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      10 frames
    15. 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
    16. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      3. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      3 frames