Search Issue Tracker

Fixed

Fixed in 2020.3.38f1, 2021.3.8f1, 2022.1.11f1, 2022.2.0a18

Votes

5

Found in

2020.3.34f1

2021.3.3f1

2022.1.1f1

2022.2.0a14

Issue ID

UUM-520

Regression

No

[Android] Exported project is unable to be built on Android Studio Chipmunk 2021.2.1

--

-

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

Comments (1)

  1. steril

    Oct 05, 2022 12:07

    Reproduced on 2021.3.1f1 as well.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.