Search Issue Tracker
Fixed in 2020.3.38f1, 2021.3.8f1, 2022.1.11f1, 2022.2.0a18
[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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Windows Player exe contains unwanted properties, causing text "Unity Playback Engine" to appear in task bar when mousing over it
- Changes made by the Script in the UI Document are reset when performing an Undo operation after changing the GameObject with this Script
- Emissive materials are broken when loading Scene via SceneManager.LoadScene
- [URP] [Decals] ProxyLighting Decal shader doesn't work in Screen Space Technique
- "Pin in New Scene Dialog" option position migrates with "Inspector" window resizing