← Back to team overview

dhis2-devs team mailing list archive

[dhis2-android-dashboard] Build issue

 

Hi,

I am using windows 7 and I have correct SDK versions and I am getting below
error stack by running 'gradlew.bat'

D:\wrokspaces>gradlew.bat --stacktrace

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Cannot evaluate module core : Configuration with name 'default' not found.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred
configuring project ':app'.
        at
org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:91)
        at
org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:86)
        at
org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:65)
        at
org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)
        at
org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)
        at
org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
        at
org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
        at
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)
        at
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
        at
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
        at
org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80
        at
org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
        at
org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
        at
org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
        at
org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
        at
org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
        at
org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
        at
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at
org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at
org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at
org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at
org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at
org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
        at
org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
        at
org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
Caused by: org.gradle.api.UnknownProjectException: Cannot evaluate module
core : Configuration with name 'default' not found.

-- 
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com

Follow ups