Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Issues building android apps

Discussion in 'Editor & General Support' started by cheapcpps, Nov 11, 2021.

  1. cheapcpps

    cheapcpps

    Joined:
    Jul 15, 2020
    Posts:
    53
    I was going to update one of my android apps, however, when I put it into google play it did not work because it needed the android SDK 30, after about an hour or two I figured that out, and went to build my app, however I get about 5 errors, I searched one up and people were talking about a specific jdk version, which I already had.

    These are the 5 errors, im clueless and have no idea what to do, if I can't fix these then I'll be a little upset.

    Error 1:
    > Configure project :launcher WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'.

    Error 2:
    FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:signReleaseBundle'. > 1 exception was raised by workers: java.lang.RuntimeException: jarsigner.exefailed with exit code 1 : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

    Error 3:
    * What went wrong: Execution failed for task ':launcher:signReleaseBundle'.> 1 exception was raised by workers: java.lang.RuntimeException: jarsigner.exefailed with exit code 1 :picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

    Error 4:
    Build completed with a result of 'Failed' in 169 seconds (169094 ms) UnityEngine.GUIUtility:processEvent (int,intptr)

    Error 5:
    UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in <3d1d98bfb8b543c39074f81ee5a7c4a3>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <3d1d98bfb8b543c39074f81ee5a7c4a3>:0
    UnityEngine.GUIUtility:processEvent (int,intptr)
     
  2. cheapcpps

    cheapcpps

    Joined:
    Jul 15, 2020
    Posts:
    53
    Does anyone else have the fix or had these problems too?