Steps to reproduce:
• Export any Android Project
• Try running the exported project on Android Studio
Result: errors are thrown upon starting the build
Reproduces on: 2020.3.34f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a14
Actual: Reproduces on Android Studio releases: Android Studio Chipmunk | 2021.2.1
Expected: Does not reproduce on Android Studio releases: Android Studio Chipmunk | 2021.1
Error received:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':unityLibrary:compileDebugJavaWithJavac'.
> Failed to calculate the value of task ':unityLibrary: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\\vaidasm\\Documents\\GitHub\\com.unity.mobile.logcat\\TestProjects\\SampleProject1\\EXPORTEDPREFI_UNITYJAVA\\unityLibrary\\build\\generated\\ap_generated_sources
debug
out)) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@79468c1d) before task ':unityLibrary:compileDebugJavaWithJavac' has completed is not supported