Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Only on Cloud Build: java.io.IOException: Failed to digitally sign signature file.

Discussion in 'Unity Cloud Build' started by andersemil, Oct 24, 2018.

  1. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    39
    Hello,

    We are maintaining a Unity-based app for both iOS and Android. Google requires that all apps are upgraded to API level 26 before Nov 1st, and by April 2019 they will remove support for GCM, so we decided to upgrade our app to use FCM and API level 27 at the same time. The project uses gradle to build for Android.

    This works great locally, I can build with auto-generated debug key or release key and push notifications work fine.

    However, internally we use Unity Cloud Build for testing, and we cannot build for Android anymore, neither with debug key or release, as it suddenly started failing like this:


    Execution failed for task ':PackageDebug'.
    7053: [Unity] > java.io.IOException: Failed to digitally sign signature file.


    I searched all web yesterday for this but I have not found a solution. I checked to make sure the target is configured with same Unity version (2017.3.1p4) and Android build tools (27.0.1). Same as before we upgrade to API 27 and before we imported Firebase plugin. Any help is much appreciated. Can I enable gradle stacktrace and verbose output in UCB?

    Here is the part of the log that comes from gradle build process:


    6997: Android PostProcess task "Splitting assets" took 116.586 ms
    6998: Android PostProcess task "Processing OBB assets" took 0.163 ms
    6999: Android PostProcess task "Preparing Unity libraries" took 519.071 ms
    7000: Android PostProcess task "Processing resources" took 0.421 ms
    7001: Android PostProcess task "Preparing APK resources" took 32.225 ms
    7002: Android PostProcess task "Processing plugins" took 404.148 ms
    7003: Android PostProcess task "Processing Android libraries" took 4.427 ms
    7004: [Unity] DisplayProgressbar: Preparing Unity libraries
    7005: [Unity] DisplayProgressbar: Processing resources
    7006: [Unity] DisplayProgressbar: Preparing APK resources
    7007: [Unity] DisplayProgressbar: Processing plugins
    7008: [Unity] DisplayProgressbar: Processing Android libraries
    7009: [Unity] DisplayProgressbar: Creating Android manifest
    7010: [Unity] DisplayProgressbar: Fetching assembly references
    7011: Android PostProcess task "Creating Android manifest" took 3763.031 ms
    7012: Android PostProcess task "Compiling resources" took 6.574 ms
    7013: Android PostProcess task "IL2CPP" took 0.618 ms
    7014: Android PostProcess task "Build native Unity binary" took 0.266 ms
    7015: Android PostProcess task "Zipping symbols" took 0.566 ms
    7016: Android PostProcess task "Performance Reporting Symbol Upload" took 0.392 ms
    7017: Android PostProcess task "Preparing streaming assets" took 29.78 ms
    7018: Android PostProcess task "fastzip" took 0.157 ms
    7019: Android PostProcess task "AAPT: Compiling all assets into one archive" took 0.443 ms
    7020: [Unity] DisplayProgressbar: Compiling resources
    7021: [Unity] DisplayProgressbar: Preparing streaming assets
    7022: [Unity] DisplayProgressbar: Building Gradle project
    7023: [Unity] ASSERT: Cancelling DisplayDialog: Build failure java.io.IOException: Failed to digitally sign signature file. See the Console for details.
    7024: [Unity] This should not be called in batch mode.
    7025: [Unity] UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    7026: [Unity] UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    7027: [Unity] UnityEngine.Logger:Log(LogType, Object)
    7028: [Unity] UnityEngine.Debug:Log(Object)
    7029: [Unity] UnityEditor.CloudBuild.BuildLogger:Log(String)
    7030: [Unity] UnityEditor.CloudBuild.BuildLogger:HighlightUnityErrors(String, String, LogType)
    7031: [Unity] UnityEditor.EditorUtility:DisplayDialog(String, String, String, String)
    7032: [Unity] UnityEditor.Android.PostProcessor.CancelPostProcess:AbortBuild(String, String, Exception)
    7033: [Unity] UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext)
    7034: [Unity] UnityEditor.Android.PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
    7035: [Unity] UnityEditor.Android.AndroidBuildPostprocessor:PostProcess(BuildPostProcessArgs)
    7036: [Unity] UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    7037: [Unity] UnityEditor.CloudBuild.Builder:Build()
    7038: [Unity] Cancelling DisplayDialog: Build failure java.io.IOException: Failed to digitally sign signature file. See the Console for details.
    7039: [Unity] This should not be called in batch mode.
    7040: [Unity] UnityEditor.EditorUtility:DisplayDialog(String, String, String, String)
    7041: [Unity] UnityEditor.Android.PostProcessor.CancelPostProcess:AbortBuild(String, String, Exception)
    7042: [Unity] UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext)
    7043: [Unity] UnityEditor.Android.PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
    7044: [Unity] UnityEditor.Android.AndroidBuildPostprocessor:PostProcess(BuildPostProcessArgs)
    7045: [Unity] UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    7046: [Unity] UnityEditor.CloudBuild.Builder:Build()
    7047: [Unity] EXCEPTION: CommandInvokationFailure: Gradle build failed.
    7048: [Unity] /BUILD_PATH/jdk1.8.0_181.jdk/Contents/Home/bin/java -classpath "/UNITY_PATH/Unity/Unity-2017_3_1p4/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleDebug"
    7049: [Unity] stderr[
    7050: [Unity] FAILURE: Build failed with an exception.
    7051: [Unity] * What went wrong:
    7052: [Unity] Execution failed for task ':packageDebug'.
    7053: [Unity] > java.io.IOException: Failed to digitally sign signature file.
    7054: [Unity] * Try:
    7055: [Unity] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    7056: [Unity] BUILD FAILED in 1m 24s
    7057: [Unity] ]
    7058: [Unity] stdout[
    7059: [Unity] Starting a Gradle Daemon (subsequent builds will be faster)
    7060: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.0/gradle-2.3.0.pom
    7061: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.3.0/gradle-core-2.3.0.pom
    7062: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder/2.3.0/builder-2.3.0.pom
    7063: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.3.0/lint-25.3.0.pom
    7064: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom
    7065: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.3.0/gradle-api-2.3.0.pom
    7066: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.pom
    7067: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.pom
    7068: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.4/asm-parent-5.0.4.pom
    7069: [Unity] Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
    7070: [Unity] Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.3.0/compilerCommon-2.3.0.pom
    7071: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.pom
    7072: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.pom
    7073: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.build/0.7.5.201505241946/org.jacoco.build-0.7.5.201505241946.pom
    7074: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.2/proguard-gradle-5.3.2.pom
    7075: [Unity] Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
    7076: [Unity] Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.pom
    7077: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.3.2/proguard-parent-5.3.2.pom
    7078: [Unity] Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
    7079: [Unity] Download https://jcenter.bintray.com/com/google/protobuf/protobuf-parent/3.0.0/protobuf-parent-3.0.0.pom
    7080: [Unity] Download https://jcenter.bintray.com/com/google/google/1/google-1.pom
    7081: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.pom
    7082: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
    7083: [Unity] Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
    7084: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdklib/25.3.0/sdklib-25.3.0.pom
    7085: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.3.0/builder-test-api-2.3.0.pom
    7086: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.3.0/builder-model-2.3.0.pom
    7087: [Unity] Download https://jcenter.bintray.com/com/android/tools/common/25.3.0/common-25.3.0.pom
    7088: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.3.0/sdk-common-25.3.0.pom
    7089: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.3.0/manifest-merger-25.3.0.pom
    7090: [Unity] Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.3.0/ddmlib-25.3.0.pom
    7091: [Unity] Download https://jcenter.bintray.com/com/android/tools/jack/jack-api/0.13.0/jack-api-0.13.0.pom
    7092: [Unity] Download https://jcenter.bintray.com/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.pom
    7093: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.3.0/protos-25.3.0.pom
    7094: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.3.0/shared-25.3.0.pom
    7095: [Unity] Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
    7096: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.3.0/tracker-25.3.0.pom
    7097: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.pom
    7098: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.pom
    7099: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.pom
    7100: [Unity] Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.pom
    7101: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.3.0/lint-checks-25.3.0.pom
    7102: [Unity] Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
    7103: [Unity] Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
    7104: [Unity] Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom
    7105: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
    7106: [Unity] Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.3.0/baseLibrary-2.3.0.pom
    7107: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
    7108: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/25/commons-parent-25.pom
    7109: [Unity] Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
    7110: [Unity] Download https://jcenter.bintray.com/com/android/tools/annotations/24.5.0/annotations-24.5.0.pom
    7111: [Unity] Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
    7112: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.2/proguard-base-5.3.2.pom
    7113: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.pom
    7114: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.1/asm-parent-5.0.1.pom
    7115: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom
    7116: [Unity] Download https://jcenter.bintray.com/org/antlr/ST4/4.0.8/ST4-4.0.8.pom
    7117: [Unity] Download https://jcenter.bintray.com/com/android/tools/dvlib/25.3.0/dvlib-25.3.0.pom
    7118: [Unity] Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.3.0/layoutlib-api-25.3.0.pom
    7119: [Unity] Download https://jcenter.bintray.com/com/android/tools/repository/25.3.0/repository-25.3.0.pom
    7120: [Unity] Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
    7121: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom
    7122: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
    7123: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom
    7124: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
    7125: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/33/commons-parent-33.pom
    7126: [Unity] Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
    7127: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
    7128: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
    7129: [Unity] Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
    7130: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.pom
    7131: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.3.0/lint-api-25.3.0.pom
    7132: [Unity] Download https://jcenter.bintray.com/com/intellij/annotations/12.0/annotations-12.0.pom
    7133: [Unity] Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
    7134: [Unity] Download https://jcenter.bintray.com/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom
    7135: [Unity] Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
    7136: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom
    7137: [Unity] Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.pom
    7138: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/5/commons-parent-5.pom
    7139: [Unity] Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
    7140: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/11/commons-parent-11.pom
    7141: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom
    7142: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom
    7143: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/162.2228.14/uast-162.2228.14.pom
    7144: [Unity] Download https://jcenter.bintray.com/com/android/tools/annotations/25.3.0/annotations-25.3.0.pom
    7145: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder/2.3.0/builder-2.3.0.jar
    7146: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.3.0/lint-25.3.0.jar
    7147: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.0/gradle-2.3.0.jar
    7148: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.3.0/gradle-core-2.3.0.jar
    7149: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
    7150: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.jar
    7151: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.3.0/lint-checks-25.3.0.jar
    7152: [Unity] Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.3.0/compilerCommon-2.3.0.jar
    7153: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.3.0/gradle-api-2.3.0.jar
    7154: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.3.0/lint-api-25.3.0.jar
    7155: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.jar
    7156: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.jar
    7157: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
    7158: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.2/proguard-gradle-5.3.2.jar
    7159: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.jar
    7160: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.jar
    7161: [Unity] Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
    7162: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.3.0/shared-25.3.0.jar
    7163: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.3.0/tracker-25.3.0.jar
    7164: [Unity] Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar
    7165: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.3.0/protos-25.3.0.jar
    7166: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.jar
    7167: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.3.0/sdk-common-25.3.0.jar
    7168: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.3.0/manifest-merger-25.3.0.jar
    7169: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.3.0/builder-model-2.3.0.jar
    7170: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.3.0/builder-test-api-2.3.0.jar
    7171: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdklib/25.3.0/sdklib-25.3.0.jar
    7172: [Unity] Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.3.0/ddmlib-25.3.0.jar
    7173: [Unity] Download https://jcenter.bintray.com/com/android/tools/repository/25.3.0/repository-25.3.0.jar
    7174: [Unity] Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.3.0/layoutlib-api-25.3.0.jar
    7175: [Unity] Download https://jcenter.bintray.com/com/android/tools/dvlib/25.3.0/dvlib-25.3.0.jar
    7176: [Unity] Download https://jcenter.bintray.com/com/android/tools/jack/jack-api/0.13.0/jack-api-0.13.0.jar
    7177: [Unity] Download https://jcenter.bintray.com/com/android/tools/common/25.3.0/common-25.3.0.jar
    7178: [Unity] Download https://jcenter.bintray.com/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.jar
    7179: [Unity] Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar
    7180: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar
    7181: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar
    7182: [Unity] Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.jar
    7183: [Unity] Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
    7184: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar
    7185: [Unity] Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
    7186: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar
    7187: [Unity] Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.3.0/baseLibrary-2.3.0.jar
    7188: [Unity] Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
    7189: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.2/proguard-base-5.3.2.jar
    7190: [Unity] Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.jar
    7191: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.jar
    7192: [Unity] Download https://jcenter.bintray.com/com/android/tools/annotations/25.3.0/annotations-25.3.0.jar
    7193: [Unity] Download https://jcenter.bintray.com/org/antlr/ST4/4.0.8/ST4-4.0.8.jar
    7194: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar
    7195: [Unity] Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
    7196: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
    7197: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar
    7198: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar
    7199: [Unity] Download https://jcenter.bintray.com/com/intellij/annotations/12.0/annotations-12.0.jar
    7200: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar
    7201: [Unity] Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
    7202: [Unity] Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
    7203: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/162.2228.14/uast-162.2228.14.jar
    7204: [Unity] Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
    7205: [Unity] The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
    7206: [Unity] The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
    7207: [Unity] The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
    7208: [Unity] :preBuild UP-TO-DATE
    7209: [Unity] :preDebugBuild UP-TO-DATE
    7210: [Unity] :checkDebugManifest
    7211: [Unity] :preReleaseBuild UP-TO-DATE
    7212: [Unity] :prepareAndroidArchLifecycleRuntime100Library
    7213: [Unity] :prepareComAndroidSupportAnimatedVectorDrawable2610Library
    7214: [Unity] :prepareComAndroidSupportAppcompatV72610Library
    7215: [Unity] :prepareComAndroidSupportCardviewV72610Library
    7216: [Unity] :prepareComAndroidSupportCustomtabs2610Library
    7217: [Unity] :prepareComAndroidSupportSupportCompat2610Library
    7218: [Unity] :prepareComAndroidSupportSupportCoreUi2610Library
    7219: [Unity] :prepareComAndroidSupportSupportCoreUtils2610Library
    7220: [Unity] :prepareComAndroidSupportSupportFragment2610Library
    7221: [Unity] :prepareComAndroidSupportSupportMediaCompat2610Library
    7222: [Unity] :prepareComAndroidSupportSupportV42610Library
    7223: [Unity] :prepareComAndroidSupportSupportVectorDrawable2610Library
    7224: [Unity] :prepareComGoogleAndroidGmsPlayServicesAdsIdentifier1600Library
    7225: [Unity] :prepareComGoogleAndroidGmsPlayServicesAnalytics1604Library
    7226: [Unity] :prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1604Library
    7227: [Unity] :prepareComGoogleAndroidGmsPlayServicesBase1601Library
    7228: [Unity] :prepareComGoogleAndroidGmsPlayServicesBasement1601Library
    7229: [Unity] :prepareComGoogleAndroidGmsPlayServicesMeasurementApi1602Library
    7230: [Unity] :prepareComGoogleAndroidGmsPlayServicesMeasurementBase1603Library
    7231: [Unity] :prepareComGoogleAndroidGmsPlayServicesStats1601Library
    7232: [Unity] :prepareComGoogleAndroidGmsPlayServicesTagmanagerV4Impl1604Library
    7233: [Unity] :prepareComGoogleAndroidGmsPlayServicesTasks1601Library
    7234: [Unity] :prepareComGoogleFirebaseFirebaseAnalytics1604Library
    7235: [Unity] :prepareComGoogleFirebaseFirebaseAnalyticsImpl1622Library
    7236: [Unity] :prepareComGoogleFirebaseFirebaseAppUnity540Library
    7237: [Unity] :prepareComGoogleFirebaseFirebaseCommon1603Library
    7238: [Unity] :prepareComGoogleFirebaseFirebaseCore1604Library
    7239: [Unity] :prepareComGoogleFirebaseFirebaseIid1704Library
    7240: [Unity] :prepareComGoogleFirebaseFirebaseIidInterop1601Library
    7241: [Unity] :prepareComGoogleFirebaseFirebaseMeasurementConnector1701Library
    7242: [Unity] :prepareComGoogleFirebaseFirebaseMeasurementConnectorImpl1702Library
    7243: [Unity] :prepareComGoogleFirebaseFirebaseMessaging1734Library
    7244: [Unity] :prepareComGoogleFirebaseFirebaseMessagingUnity540Library
    7245: [Unity] :prepareFacebookAndroidWrapper7121Library
    7246: [Unity] :prepareFacebookApplinksLibrary
    7247: [Unity] :prepareFacebookCommonLibrary
    7248: [Unity] :prepareFacebookCoreLibrary
    7249: [Unity] :prepareFacebookLoginLibrary
    7250: [Unity] :prepareFacebookMessengerLibrary
    7251: [Unity] :prepareFacebookPlacesLibrary
    7252: [Unity] :prepareFacebookShareLibrary
    7253: [Unity] :prepareMobileNativePopupsLibrary
    7254: [Unity] :prepareUnityappReleaseLibrary
    7255: [Unity] :prepareVuforiaWrapperLibrary
    7256: [Unity] :Firebase:preBuild UP-TO-DATE
    7257: [Unity] :Firebase:preReleaseBuild UP-TO-DATE
    7258: [Unity] :Firebase:checkReleaseManifest
    7259: [Unity] :Firebase:prepareReleaseDependencies
    7260: [Unity] :Firebase:compileReleaseAidl
    7261: [Unity] :Firebase:compileReleaseNdk NO-SOURCE
    7262: [Unity] :Firebase:compileLint
    7263: [Unity] :Firebase:copyReleaseLint NO-SOURCE
    7264: [Unity] :Firebase:mergeReleaseShaders
    7265: [Unity] :Firebase:compileReleaseShaders
    7266: [Unity] :Firebase:generateReleaseAssets
    7267: [Unity] :Firebase:mergeReleaseAssets
    7268: [Unity] :Firebase:mergeReleaseProguardFiles
    7269: [Unity] :Firebase:packageReleaseRenderscript NO-SOURCE
    7270: [Unity] :Firebase:compileReleaseRenderscript
    7271: [Unity] :Firebase:generateReleaseResValues
    7272: [Unity] :Firebase:generateReleaseResources
    7273: [Unity] :Firebase:packageReleaseResources
    7274: [Unity] :Firebase:processReleaseManifest
    7275: [Unity] :Firebase:generateReleaseBuildConfig
    7276: [Unity] :Firebase:processReleaseResources
    7277: [Unity] :Firebase:generateReleaseSources
    7278: [Unity] :Firebase:incrementalReleaseJavaCompilationSafeguard
    7279: [Unity] :Firebase:javaPreCompileRelease
    7280: [Unity] :Firebase:compileReleaseJavaWithJavac
    7281: [Unity] :Firebase:processReleaseJavaRes NO-SOURCE
    7282: [Unity] :Firebase:transformResourcesWithMergeJavaResForRelease
    7283: [Unity] :Firebase:transformClassesAndResourcesWithSyncLibJarsForRelease
    7284: [Unity] :Firebase:mergeReleaseJniLibFolders
    7285: [Unity] :Firebase:transformNativeLibsWithMergeJniLibsForRelease
    7286: [Unity] :Firebase:transformNativeLibsWithStripDebugSymbolForRelease
    7287: [Unity] :Firebase:transformNativeLibsWithSyncJniLibsForRelease
    7288: [Unity] :Firebase:bundleRelease
    7289: [Unity] :prepareDebugDependencies
    7290: [Unity] :compileDebugAidl
    7291: [Unity] :compileDebugRenderscript
    7292: [Unity] :generateDebugBuildConfig
    7293: [Unity] :generateDebugResValues
    7294: [Unity] :generateDebugResources
    7295: [Unity] :mergeDebugResources
    7296: [Unity] :processDebugManifest
    7297: [Unity] :processDebugResources
    7298: [Unity] :generateDebugSources
    7299: [Unity] :incrementalDebugJavaCompilationSafeguard
    7300: [Unity] :javaPreCompileDebug
    7301: [Unity] :compileDebugJavaWithJavac
    7302: [Unity] :compileDebugNdk NO-SOURCE
    7303: [Unity] :compileDebugSources
    7304: [Unity] :mergeDebugShaders
    7305: [Unity] :compileDebugShaders
    7306: [Unity] :generateDebugAssets
    7307: [Unity] :mergeDebugAssets
    7308: [Unity] :transformClassesWithDexForDebug
    7309: [Unity] :mergeDebugJniLibFolders
    7310: [Unity] :transformNativeLibsWithMergeJniLibsForDebug
    7311: [Unity] :transformNativeLibsWithStripDebugSymbolForDebug
    7312: [Unity] :processDebugJavaRes NO-SOURCE
    7313: [Unity] :transformResourcesWithMergeJavaResForDebug
    7314: [Unity] :validateSigningDebug
    7315: [Unity] :packageDebug FAILED
    7316: [Unity] 90 actionable tasks: 90 executed
    7317: [Unity] ]
    7318: [Unity] exit code: 1
    7319: [Unity] UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    7320: [Unity] UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    7321: [Unity] UnityEngine.Logger:Log(LogType, Object)
    7322: [Unity] UnityEngine.Debug:Log(Object)
    7323: [Unity] UnityEditor.CloudBuild.BuildLogger:Log(String)
    7324: [Unity] UnityEditor.CloudBuild.BuildLogger:HighlightUnityErrors(String, String, LogType)
    7325: [Unity] UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    7326: [Unity] UnityEditor.CloudBuild.Builder:Build()
     
    kanehana and takahiro-yamada like this.
  2. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    3
    I'm seeing the same issue. it was caused by the JDK version update to 1.8.0_181

    26130: [Unity] java : /BUILD_PATH/jdk1.8.0_181.jdk/Contents/Home/bin/java
     
    kanehana and andersemil like this.
  3. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    39
    REALLY?? It was the only difference I saw between my local machine and cloud build, and I disregarded it (my version is 1.8.0_172) ... Goes to show that you can never disregard the smallest build versions!

    So do you have any idea what's going on, or how to fix it? The problem is virtually nonexistent if you google it, the only mention is something about newer JDKs not accepting older signatures, but this signature is autogenerated by cloud build, so it doesn't really apply.


     
    Last edited: Oct 24, 2018
    kanehana likes this.
  4. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    3
    UCB updated from jdk1.8.0_171.jdk to jdk1.8.0_181.jdk and it started to occur then.
     
    kanehana likes this.
  5. roberto_sc

    roberto_sc

    Joined:
    Dec 13, 2010
    Posts:
    84
    We are experiencing the same thing.

    The difference between the one failing and other configurations that are building correctly is that the one failing is a Development Build. So I guess you may try to disable this option as a workaround.

    We've tried to leave the keystore info totally blank in both cloud build configuration settings and in ProjectSettings.asset but it didn't help.
     
    kanehana likes this.
  6. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    92
    Hi,
    @dirty-rectangle is correct. We made a change to our build agents last week, which is part of a bigger upgrade effort to support newer technologies and this is a known issue with the upgrade.

    We have diagnosed the fault and have a fix pending testing, I will let you know once this goes live to production, which should be soon as it is a high priority issue.

    Sorry for any inconvenience this has caused. If you are unable to await this fix, please log a ticket via the Cloud Build Support page of the Developer Dashboard and we will review your Project for possible solutions/workarounds.
     
    andersemil likes this.
  7. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    39
    Thank you very much, I thought I was going insane. I will upload builds manually until you have the fix ready
     
    ollieblanks likes this.
  8. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    39
    Unfortunately, I have tried switching development build option off, it didn't change a thing :(
     
  9. goble

    goble

    Joined:
    Jun 30, 2016
    Posts:
    8
    Any updates on this issue? I'm using Unity Cloud Build for our builds with Unity 2017.4.1f1 and our development Android builds fail with this error as well. I just tried a non-development build and that succeeded.

    Would love to get development builds working too. Thanks for any updates.
     
    andersemil likes this.
  10. karmatha

    karmatha

    Joined:
    Aug 25, 2012
    Posts:
    26
    I'm encountering the same problem.. watching this thread..
     
  11. goble

    goble

    Joined:
    Jun 30, 2016
    Posts:
    8
    My Android Development build via Unity Cloud Build just succeeded. Was a fix recently deployed? Can anyone else who has been experiencing this issues chime in?
     
    andersemil likes this.
  12. karmatha

    karmatha

    Joined:
    Aug 25, 2012
    Posts:
    26
    Yeah! It works here now, too. Yay.
     
    andersemil likes this.
  13. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    39
    Also working here, after weeks of frustration!
     
  14. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    92
    This issue was resolved and the fix was deployed last Friday as some have you have already noticed. :)

    Apologies for the delayed update. Happy building!