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

Mobile

-

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 (6)

  1. 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.

  2. MartaStuart

    Mar 30, 2022 20:28

    What exactly are you developing that you need the help of Vue developers? It would be interesting to know. I recently hired developers for my Vue staff, here HTTPS://stfalcon.com/en/services/hire-vue-developers . You can also contact them and agree on which cooperation model will be more profitable for you. Personally, I chose a dedicated team of Vue developers.

  3. Barns12

    Mar 30, 2022 19:23

    I don't really need Java developers right now, I would like to find Vue developers. If it's not difficult, then recommend good specialists.

  4. TrentArnold

    Mar 27, 2022 22:34

    And in general, I always turn to specialists, without trying to figure out on my own how to fix the error. As for Java developers, I can recommend this company HTTPS://devoxsoftware.com/hire/hire-java-developers/ . I hire developers from them, and I can say that they are real professionals who can handle almost any Java development task.

  5. VandaSnow

    Mar 27, 2022 22:01

    I had the same problem, and gave an error... I turned to Java developers, and they helped me solve everything.

  6. 2367

    Dec 27, 2019 12:50

    I have same bug on Unity 2018.4.11f1

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.