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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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