android-sdk-examples icon indicating copy to clipboard operation
android-sdk-examples copied to clipboard

Basic:compileArArCoreDebugJavaWithJavac

Open Oumoussi opened this issue 2 years ago • 3 comments

when i try to lucnh the project an error that has a link with arcore appears and i don t know hot to solve Error :

  • What went wrong: Execution failed for task ':Basic:compileArArCoreDebugJavaWithJavac'.

Failed to calculate the value of task ':Basic:compileArArCoreDebugJavaWithJavac' 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\abder\Downloads\android-sdk-examples-master (1)\android-sdk-examples-master\Basic\build\generated\ap_generated_sources\arArCoreDebug\out)) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@7c544fee) before task ':Basic:compileArArCoreDebugJavaWithJavac' has completed is not supported

Oumoussi avatar Nov 11 '23 13:11 Oumoussi

in My case i have done below steps and clean rebuild project

-AGP version 7.4.0 and Gradle version 7.5 -Compile SDK and target SDK Version 34 -All this dependencies are updated It's working fine

NiravDev1 avatar May 15 '24 10:05 NiravDev1

Hello, I'm having the same issue, using Android studio 2024.1.1

Gradle version: gradle-7.2-bin.zip -Compile SDK and target SDK Version 31 Using the same libraries from master.

Someone has a way for make this sample to work? some branch is working? Regards,

HildonEduardo avatar Jun 27 '24 15:06 HildonEduardo

In my case it was enough to change the gradle version to 7.4.2 in build.gradle

dependencies {
        classpath 'com.android.tools.build:gradle:7.4.2'
    }

admirhusic avatar Jul 01 '24 12:07 admirhusic