Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.1.0f2
Issue ID
1027934
Regression
Yes
[Android] Gradle release build fails with java.io.IOException after switching between different Target Architectures
Steps to reproduce:
1) Download attached project and open in Unity
2) Make sure Development Build is disabled in the Build Settings
3) Go to Player Settings >> Other Settings >> Configuration >> and set Target Architecture to ARMv7
4) Click on Build button in the Build Settings
Note: Build should be successful
5) Go to Player Settings >> Other Settings >> Configuration >> and change Target Architecture to ARM64
6) Click on Build button in the Build Settings
Note: Build will fail with the following error:
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Java\jdk1.8.0_151\bin\java.exe -classpath "E:\Program Files\2018.1\2018.1.0f1_5a5868b1cfa9\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':transformNativeLibsWithStripDebugSymbolForRelease'.
> java.io.IOException: Failed to delete C:\Users\Ernestas\Downloads\case_1027934-InstantGame\Temp\gradleOut\build\intermediates\transforms\stripDebugSymbol\release\folders\2000\1f\main\lib\arm64-v8a
Expected result: Build should be successful, without java.io.IOException
Actual result: Build fails with java.io.IOException
Reproduced with:
2018.1.0b2, 2018.1.0b5, 2018.1.0b10, 2018.1.0f1
Not reproduced with:
2018.2.0b1
ARM64 architecture was introduced in 2018.1.0b2
Tested using Windows 10 machine
Comments (7)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
BartonSm
Apr 02, 2022 14:34
And about the development of travel software, can you contact them, or is it worth looking for other developers? In particular, I would like to find developers of a travel portal and a B2B/B2C booking system.
2367
Dec 27, 2019 12:50
I have same bug on Unity 2018.4.11f1