architecture-components-samples icon indicating copy to clipboard operation
architecture-components-samples copied to clipboard

Unable to build MADSkillsNavigation sample

Open phazei opened this issue 1 year ago • 2 comments

I'm using Android Studio Electric Eel. When I try to run the project I get this error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Failed to calculate the value of task ':app:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
   > Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\Users\Homestar\AndroidStudioProjects\architecture-components-samples\MADSkillsNavigationSample\app\build\generated\ap_generated_sources\debug\out)) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@4639114f) before task ':app:compileDebugJavaWithJavac' has completed is not supported

I tried checking out older versions, but it doesn't seem to work. Really wanted to test it out.

phazei avatar Apr 14 '23 01:04 phazei

Me too :(

Bugzer0 avatar Jun 07 '23 01:06 Bugzer0

update classpath 'com.android.tools.build:gradle:7.0.0' in build.pradle(Projet) solve the problem.

But still some works needs to be done for app to work

ingenika avatar Nov 07 '23 22:11 ingenika