Search Unity

UCB Gradle error with Facebook SDK

Discussion in 'Unity Build Automation' started by AyumuKasuga, Feb 13, 2018.

  1. AyumuKasuga

    AyumuKasuga

    Joined:
    Feb 27, 2014
    Posts:
    4
    UCB build fails when using Facebook SDK and Gradle. The same project builds totally fine locally.

    Unity version: Latest 2017.x

    Here's the log output:

    Code (CSharp):
    1. 3366: [Unity] DisplayProgressbar: Building Gradle project
    2. 3367: [Unity] Cancelling DisplayDialog: Build failure Job failed, see logs for details See the Console for details.
    3. 3368: [Unity] This should not be called in batch mode.
    4. 3369: [Unity] UnityEditor.EditorUtility:DisplayDialog(String, String, String, String)
    5. 3370: [Unity] UnityEditor.Android.PostProcessor.CancelPostProcess:AbortBuild(String, String, Exception)
    6. 3371: [Unity] UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext)
    7. 3372: [Unity] UnityEditor.Android.PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
    8. 3373: [Unity] UnityEditor.Android.AndroidBuildPostprocessor:PostProcess(BuildPostProcessArgs)
    9. 3374: [Unity] UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    10. 3375: [Unity] UnityEditor.CloudBuild.Builder:Build()
    11. 3376: [Unity] CommandInvokationFailure: Gradle build failed.
    12. 3377: [Unity] /BUILD_PATH/jdk1.8.0_121.jdk/Contents/Home/bin/java -classpath "/UNITY_PATH/Unity/Unity-2017_3_1f1/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
    13. 3378: [Unity] stderr[
    14. 3379: [Unity] Note: there were 11 duplicate class definitions.
    15. 3380: [Unity]       (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)
    16. 3381: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.EncodeHintType
    17. 3382: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.EncodeHintType
    18. 3383: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.MultiFormatWriter
    19. 3384: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.MultiFormatWriter
    20. 3385: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.BarcodeFormat
    21. 3386: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.MultiFormatWriter
    22. 3387: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.common.BitMatrix
    23. 3388: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.common.BitMatrix
    24. 3389: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.common.BitMatrix
    25. 3390: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.WriterException
    26. 3391: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.common.BitMatrix
    27. 3392: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.WriterException
    28. 3393: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.BarcodeFormat
    29. 3394: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.common.BitMatrix
    30. 3395: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.common.BitMatrix
    31. 3396: [Unity] Warning: com.facebook.devicerequests.internal.DeviceRequestsHelper: can't find referenced class com.google.zxing.EncodeHintType
    32. 3397: [Unity] Warning: there were 16 unresolved references to classes or interfaces.
    33. 3398: [Unity]          You may need to add missing library jars or update their versions.
    34. 3399: [Unity]          If your code works fine without the missing classes, you can suppress
    35. 3400: [Unity]          the warnings with '-dontwarn' options.
    36. 3401: [Unity]          (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
    37. 3402: [Unity] FAILURE: Build failed with an exception.
    38. 3403: [Unity] * What went wrong:
    39. 3404: [Unity] Execution failed for task ':transformClassesAndResourcesWithProguardForRelease'.
    40. 3405: [Unity] > Job failed, see logs for details
    41. 3406: [Unity] * Try:
    42. 3407: [Unity] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    43. 3408: [Unity] BUILD FAILED in 1m 34s
    44. 3409: [Unity] ]
    45. 3410: [Unity] stdout[
    46. 3411: [Unity] Starting a Gradle Daemon (subsequent builds will be faster)
    47. 3412: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.0/gradle-2.3.0.pom
    48. 3413: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.3.0/gradle-core-2.3.0.pom
    49. 3414: [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
    50. 3415: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.3.0/lint-25.3.0.pom
    51. 3416: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder/2.3.0/builder-2.3.0.pom
    52. 3417: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.3.0/gradle-api-2.3.0.pom
    53. 3418: [Unity] Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.3.0/compilerCommon-2.3.0.pom
    54. 3419: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.pom
    55. 3420: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.pom
    56. 3421: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.4/asm-parent-5.0.4.pom
    57. 3422: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.2/proguard-gradle-5.3.2.pom
    58. 3423: [Unity] Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
    59. 3424: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.3.2/proguard-parent-5.3.2.pom
    60. 3425: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.pom
    61. 3426: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.pom
    62. 3427: [Unity] Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
    63. 3428: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.build/0.7.5.201505241946/org.jacoco.build-0.7.5.201505241946.pom
    64. 3429: [Unity] Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
    65. 3430: [Unity] Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.pom
    66. 3431: [Unity] Download https://jcenter.bintray.com/com/google/protobuf/protobuf-parent/3.0.0/protobuf-parent-3.0.0.pom
    67. 3432: [Unity] Download https://jcenter.bintray.com/com/google/google/1/google-1.pom
    68. 3433: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.pom
    69. 3434: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
    70. 3435: [Unity] Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
    71. 3436: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.3.0/builder-test-api-2.3.0.pom
    72. 3437: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.3.0/builder-model-2.3.0.pom
    73. 3438: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdklib/25.3.0/sdklib-25.3.0.pom
    74. 3439: [Unity] Download https://jcenter.bintray.com/com/android/tools/common/25.3.0/common-25.3.0.pom
    75. 3440: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.3.0/manifest-merger-25.3.0.pom
    76. 3441: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.3.0/sdk-common-25.3.0.pom
    77. 3442: [Unity] Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.3.0/ddmlib-25.3.0.pom
    78. 3443: [Unity] Download https://jcenter.bintray.com/com/android/tools/jack/jack-api/0.13.0/jack-api-0.13.0.pom
    79. 3444: [Unity] Download https://jcenter.bintray.com/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.pom
    80. 3445: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.3.0/protos-25.3.0.pom
    81. 3446: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.3.0/shared-25.3.0.pom
    82. 3447: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.3.0/tracker-25.3.0.pom
    83. 3448: [Unity] Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
    84. 3449: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.pom
    85. 3450: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.pom
    86. 3451: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.pom
    87. 3452: [Unity] Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.pom
    88. 3453: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.3.0/lint-checks-25.3.0.pom
    89. 3454: [Unity] Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
    90. 3455: [Unity] Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
    91. 3456: [Unity] Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.3.0/baseLibrary-2.3.0.pom
    92. 3457: [Unity] Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom
    93. 3458: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
    94. 3459: [Unity] Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
    95. 3460: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
    96. 3461: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/25/commons-parent-25.pom
    97. 3462: [Unity] Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
    98. 3463: [Unity] Download https://jcenter.bintray.com/com/android/tools/annotations/24.5.0/annotations-24.5.0.pom
    99. 3464: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.2/proguard-base-5.3.2.pom
    100. 3465: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.pom
    101. 3466: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.1/asm-parent-5.0.1.pom
    102. 3467: [Unity] Download https://jcenter.bintray.com/org/antlr/ST4/4.0.8/ST4-4.0.8.pom
    103. 3468: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom
    104. 3469: [Unity] Download https://jcenter.bintray.com/com/android/tools/repository/25.3.0/repository-25.3.0.pom
    105. 3470: [Unity] Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
    106. 3471: [Unity] Download https://jcenter.bintray.com/com/android/tools/dvlib/25.3.0/dvlib-25.3.0.pom
    107. 3472: [Unity] Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.3.0/layoutlib-api-25.3.0.pom
    108. 3473: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
    109. 3474: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
    110. 3475: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom
    111. 3476: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/33/commons-parent-33.pom
    112. 3477: [Unity] Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
    113. 3478: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom
    114. 3479: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
    115. 3480: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
    116. 3481: [Unity] Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
    117. 3482: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.pom
    118. 3483: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.3.0/lint-api-25.3.0.pom
    119. 3484: [Unity] Download https://jcenter.bintray.com/com/intellij/annotations/12.0/annotations-12.0.pom
    120. 3485: [Unity] Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
    121. 3486: [Unity] Download https://jcenter.bintray.com/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom
    122. 3487: [Unity] Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
    123. 3488: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom
    124. 3489: [Unity] Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.pom
    125. 3490: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/11/commons-parent-11.pom
    126. 3491: [Unity] Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
    127. 3492: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom
    128. 3493: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-parent/5/commons-parent-5.pom
    129. 3494: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom
    130. 3495: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/162.2228.14/uast-162.2228.14.pom
    131. 3496: [Unity] Download https://jcenter.bintray.com/com/android/tools/annotations/25.3.0/annotations-25.3.0.pom
    132. 3497: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.0/gradle-2.3.0.jar
    133. 3498: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.3.0/gradle-core-2.3.0.jar
    134. 3499: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.3.0/lint-25.3.0.jar
    135. 3500: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder/2.3.0/builder-2.3.0.jar
    136. 3501: [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
    137. 3502: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.3.0/gradle-api-2.3.0.jar
    138. 3503: [Unity] Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.3.0/compilerCommon-2.3.0.jar
    139. 3504: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.jar
    140. 3505: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.3.0/lint-checks-25.3.0.jar
    141. 3506: [Unity] Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.3.0/lint-api-25.3.0.jar
    142. 3507: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.jar
    143. 3508: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.jar
    144. 3509: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
    145. 3510: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.2/proguard-gradle-5.3.2.jar
    146. 3511: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.jar
    147. 3512: [Unity] Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
    148. 3513: [Unity] Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.jar
    149. 3514: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.3.0/tracker-25.3.0.jar
    150. 3515: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.3.0/shared-25.3.0.jar
    151. 3516: [Unity] Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar
    152. 3517: [Unity] Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.3.0/protos-25.3.0.jar
    153. 3518: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.jar
    154. 3519: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.3.0/manifest-merger-25.3.0.jar
    155. 3520: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.3.0/sdk-common-25.3.0.jar
    156. 3521: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.3.0/builder-model-2.3.0.jar
    157. 3522: [Unity] Download https://jcenter.bintray.com/com/android/tools/sdklib/25.3.0/sdklib-25.3.0.jar
    158. 3523: [Unity] Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.3.0/builder-test-api-2.3.0.jar
    159. 3524: [Unity] Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.3.0/layoutlib-api-25.3.0.jar
    160. 3525: [Unity] Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.3.0/ddmlib-25.3.0.jar
    161. 3526: [Unity] Download https://jcenter.bintray.com/com/android/tools/dvlib/25.3.0/dvlib-25.3.0.jar
    162. 3527: [Unity] Download https://jcenter.bintray.com/com/android/tools/repository/25.3.0/repository-25.3.0.jar
    163. 3528: [Unity] Download https://jcenter.bintray.com/com/android/tools/common/25.3.0/common-25.3.0.jar
    164. 3529: [Unity] Download https://jcenter.bintray.com/com/android/tools/jack/jack-api/0.13.0/jack-api-0.13.0.jar
    165. 3530: [Unity] Download https://jcenter.bintray.com/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.jar
    166. 3531: [Unity] Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar
    167. 3532: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar
    168. 3533: [Unity] Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar
    169. 3534: [Unity] Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.jar
    170. 3535: [Unity] Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
    171. 3536: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar
    172. 3537: [Unity] Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
    173. 3538: [Unity] Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.3.0/baseLibrary-2.3.0.jar
    174. 3539: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar
    175. 3540: [Unity] Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.jar
    176. 3541: [Unity] Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
    177. 3542: [Unity] Download https://jcenter.bintray.com/com/android/tools/annotations/25.3.0/annotations-25.3.0.jar
    178. 3543: [Unity] Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.jar
    179. 3544: [Unity] Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.2/proguard-base-5.3.2.jar
    180. 3545: [Unity] Download https://jcenter.bintray.com/org/antlr/ST4/4.0.8/ST4-4.0.8.jar
    181. 3546: [Unity] Download https://jcenter.bintray.com/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar
    182. 3547: [Unity] Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
    183. 3548: [Unity] Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
    184. 3549: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar
    185. 3550: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar
    186. 3551: [Unity] Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
    187. 3552: [Unity] Download https://jcenter.bintray.com/com/intellij/annotations/12.0/annotations-12.0.jar
    188. 3553: [Unity] Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar
    189. 3554: [Unity] Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
    190. 3555: [Unity] Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
    191. 3556: [Unity] Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/162.2228.14/uast-162.2228.14.jar
    192. 'com.android.vending.billing.IInAppBillingService'
    193. 3670: [Unity] Note: the configuration refers to the unknown class 'com.android.vending.billing.IInAppBillingService'
    194. 3671: [Unity] Note: com.facebook.appevents.AppEventsLogger$3: can't find dynamically referenced class com.facebook.all.All
    195. 3672: [Unity] Note: com.google.android.gms.internal.zzedy: can't find dynamically referenced class com.google.protobuf.ExtensionRegistry
    196. 3673: [Unity] Note: com.google.android.gms.internal.zzedz: can't find dynamically referenced class com.google.protobuf.Extension
    197. 3674: [Unity] Note: com.google.android.gms.internal.zzefr: can't find dynamically referenced class libcore.io.Memory
    198. 3675: [Unity] Note: com.google.android.gms.internal.zzefr: can't find dynamically referenced class org.robolectric.Robolectric
    199. 3676: [Unity] Note: com.facebook.unity.UnityReflection accesses a field 'currentActivity' dynamically
    200. 3677: [Unity]       Maybe this is program field 'com.unity3d.player.UnityPlayer { android.app.Activity currentActivity; }'
    201. 3678: [Unity] Note: com.google.android.gms.dynamite.DynamiteModule accesses a declared field 'MODULE_ID' dynamically
    202. 3679: [Unity]       Maybe this is program field 'com.google.android.gms.dynamite.descriptors.com.google.android.gms.flags.ModuleDescriptor { java.lang.String MODULE_ID; }'
    203. 3680: [Unity] Note: com.google.android.gms.dynamite.DynamiteModule accesses a declared field 'MODULE_VERSION' dynamically
    204. 3681: [Unity]       Maybe this is program field 'com.google.android.gms.dynamite.descriptors.com.google.android.gms.flags.ModuleDescriptor { int MODULE_VERSION; }'
    205. 3682: [Unity] Note: com.google.android.gms.dynamite.DynamiteModule accesses a declared field 'sClassLoader' dynamically
    206. 3683: [Unity]       Maybe this is program field 'com.google.android.gms.dynamite.DynamiteModule$DynamiteLoaderClassLoader { java.lang.ClassLoader sClassLoader; }'
    207. 3684: [Unity] Note: the configuration keeps the entry point 'com.facebook.login.widget.LoginButton { void setProperties(com.facebook.login.widget.LoginButton$LoginButtonProperties); }', but not the descriptor class 'com.facebook.login.widget.LoginButton$LoginButtonProperties'
    208. 3685: [Unity] Note: the configuration keeps the entry point 'com.facebook.login.widget.LoginButton { void setLoginManager(com.facebook.login.LoginManager); }', but not the descriptor class 'com.facebook.login.LoginManager'
    209. 3686: [Unity] Note: the configuration keeps the entry point 'com.facebook.login.widget.ProfilePictureView { void setOnErrorListener(com.facebook.login.widget.ProfilePictureView$OnErrorListener); }', but not the descriptor class 'com.facebook.login.widget.ProfilePictureView$OnErrorListener'
    210. 3687: [Unity] Note: the configuration keeps the entry point 'com.facebook.share.widget.DeviceShareButton { void setShareContent(com.facebook.share.model.ShareContent); }', but not the descriptor class 'com.facebook.share.model.ShareContent'
    211. 3688: [Unity] Note: the configuration keeps the entry point 'com.facebook.share.widget.LikeView { void setOnErrorListener(com.facebook.share.widget.LikeView$OnErrorListener); }', but not the descriptor class 'com.facebook.share.widget.LikeView$OnErrorListener'
    212. 3689: [Unity] Note: the configuration keeps the entry point 'com.facebook.share.widget.ShareButtonBase { void setShareContent(com.facebook.share.model.ShareContent); }', but not the descriptor class 'com.facebook.share.model.ShareContent'
    213. 3690: [Unity] Note: the configuration keeps the entry point 'com.google.android.gms.common.api.internal.LifecycleCallback { com.google.android.gms.common.api.internal.zzcg getChimeraLifecycleFragmentImpl(com.google.android.gms.common.api.internal.zzcf); }', but not the descriptor class 'com.google.android.gms.common.api.internal.zzcf'
    214. 3691: [Unity] Note: the configuration keeps the entry point 'com.google.android.gms.flags.impl.FlagProviderImpl { void init(com.google.android.gms.dynamic.IObjectWrapper); }', but not the descriptor class 'com.google.android.gms.dynamic.IObjectWrapper'
    215. 3692: [Unity] Note: there were 2 references to unknown classes.
    216. 3693: [Unity]       You should check your configuration for typos.
    217. 3694: [Unity]       (http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
    218. 3695: [Unity] Note: there were 8 unkept descriptor classes in kept class members.
    219. 3696: [Unity]       You should consider explicitly keeping the mentioned classes
    220. 3697: [Unity]       (using '-keep').
    221. 3698: [Unity]       (http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass)
    222. 3699: [Unity] Note: there were 5 unresolved dynamic references to classes or interfaces.
    223. 3700: [Unity]       You should check if you need to specify additional program jars.
    224. 3701: [Unity]       (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
    225. 3702: [Unity] Note: there were 4 accesses to class members by means of introspection.
    226. 3703: [Unity]       You should consider explicitly keeping the mentioned class members
    227. 3704: [Unity]       (using '-keep' or '-keepclassmembers').
    228. 3705: [Unity]       (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember)
    229. 3706: [Unity] Warning: Exception while processing task java.io.IOException: Please correct the above warnings first.
    230. 3707: [Unity] :transformClassesAndResourcesWithProguardForRelease FAILED
    231. 3708: [Unity] 48 actionable tasks: 48 executed
    232. 3709: [Unity] ]
    233. 3710: [Unity] exit code: 1
    234. 3711: [Unity]   at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0002f] in <388bfc6933e8438da93bcd874bbbeee6>:0
    235. 3712: [Unity]   at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00015] in <388bfc6933e8438da93bcd874bbbeee6>:0
    236. 3713: [Unity]   at UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) [0x00050] in <388bfc6933e8438da93bcd874bbbeee6>:0
    237. 3714: [Unity]   at UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1[T] progress) [0x00065] in <388bfc6933e8438da93bcd874bbbeee6>:0
    238. 3715: [Unity] Rethrow as GradleInvokationException: Gradle build failed
    239. 3716: [Unity]   at UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) [0x0000e] in <388bfc6933e8438da93bcd874bbbeee6>:0
    240. 3717: [Unity]   at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x000ed] in <388bfc6933e8438da93bcd874bbbeee6>:0
    241. 3718: [Unity]   at UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) [0x00244] in <388bfc6933e8438da93bcd874bbbeee6>:0
    242. 3719: [Unity]   at UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) [0x00001] in <388bfc6933e8438da93bcd874bbbeee6>:0
    243. 3720: [Unity] UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    244. 3721: [Unity] UnityEditor.CloudBuild.Builder:Build()
    245. 3722: [Unity] (Filename: <388bfc6933e8438da93bcd874bbbeee6> Line: 0)
     
    Last edited: Feb 14, 2018
  2. AyumuKasuga

    AyumuKasuga

    Joined:
    Feb 27, 2014
    Posts:
    4
    Adding a custom gradle config file with minify and proguard turned off solved the problem.
    I feel like they should be turned off by default for UCB to be consistent with local builds, or there should be a setting in advanced options.
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    There's a setting under Player Settings that allows you to control minification options for Android, but i am not sure what Unity version introduced that, or whether it is actually serialized so that UCB will pick up that option.
     
  4. AyumuKasuga

    AyumuKasuga

    Joined:
    Feb 27, 2014
    Posts:
    4
    I had it set to "None" for both Minify and Proguard, so it's either not serialized, or it doesn't work correctly with UCB.