Home > other >  Unity Android package error
Unity Android package error

Time:09-15

CommandInvokationFailure: Gradle build failed.
C: \ Program Files \ Java \ jdk1.8.0 _40 \ bin \ Java exe - classpath "C: \ Program Files \ Unity \ Hub \ Editor \ Data \ \ Editor \ 2018.2.5 f1 PlaybackEngines \ AndroidPlayer \ Tools \ gradle \ lib \ gradle - the launcher - 2. Jar" org. Gradle. The launcher. GradleMain "- Dorg. Gradle. Jvmargs=- Xmx2048m" "assembleDebug
"
Stderr [

FAILURE: the Build failed with an exception.

* What went wrong:
Execution failed for task ': transformDexArchiveWithExternalLibsDexMergerForDebug'.
Java. Lang. RuntimeException: Java. Lang. RuntimeException: com. Android. Builder. Dexing. DexArchiveMergerException: Unable to merge dex

* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output.

* Get more help at https://help.gradle.org

The BUILD FAILED in 16 s
]
Stdout [
Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use - the status for the details
: preBuild the UP - TO - DATE
: Firebase: preBuild the UP - TO - DATE
: Firebase: preDebugBuild the UP - TO - DATE
: Firebase: checkDebugManifest
: Firebase: processDebugManifest
: GoogleMobileAdsPlugin: preBuild the UP - TO - DATE
: GoogleMobileAdsPlugin: preDebugBuild the UP - TO - DATE
: GoogleMobileAdsPlugin: checkDebugManifest
: GoogleMobileAdsPlugin: processDebugManifest
: GooglePlayGamesManifest. Plugin: preBuild the UP - TO - DATE
: GooglePlayGamesManifest. Plugin: preDebugBuild the UP - TO - DATE
: GooglePlayGamesManifest. Plugin: checkDebugManifest
: GooglePlayGamesManifest. Plugin: processDebugManifest
: preDebugBuild
: Firebase: compileDebugAidl
: GoogleMobileAdsPlugin: compileDebugAidl
: GooglePlayGamesManifest. Plugin: compileDebugAidl
: compileDebugAidl
: Firebase: packageDebugRenderscript NO - SOURCE
: GoogleMobileAdsPlugin: packageDebugRenderscript NO - SOURCE
: GooglePlayGamesManifest. Plugin: packageDebugRenderscript NO - SOURCE
: compileDebugRenderscript
: checkDebugManifest
: generateDebugBuildConfig
: prepareLintJar
: generateDebugResValues
: generateDebugResources
: Firebase: compileDebugRenderscript
: Firebase: generateDebugResValues
: Firebase: generateDebugResources
: Firebase: packageDebugResources
: GoogleMobileAdsPlugin: compileDebugRenderscript
: GoogleMobileAdsPlugin: generateDebugResValues
: GoogleMobileAdsPlugin: generateDebugResources
: GoogleMobileAdsPlugin: packageDebugResources
: GooglePlayGamesManifest. Plugin: compileDebugRenderscript
: GooglePlayGamesManifest. Plugin: generateDebugResValues
: GooglePlayGamesManifest. Plugin: generateDebugResources
: GooglePlayGamesManifest. Plugin: packageDebugResources
: mergeDebugResources
: createDebugCompatibleScreenManifests
: processDebugManifest
: splitsDiscoveryTaskDebug
: Firebase: platformAttrExtractor
: GoogleMobileAdsPlugin: platformAttrExtractor
: GooglePlayGamesManifest. Plugin: platformAttrExtractor
: Firebase: generateDebugBuildConfig
: Firebase: prepareLintJar
: Firebase: javaPreCompileDebug
: Firebase: processDebugJavaRes NO - SOURCE
: GoogleMobileAdsPlugin: generateDebugBuildConfig
: GoogleMobileAdsPlugin: prepareLintJar
: GoogleMobileAdsPlugin: javaPreCompileDebug
: GoogleMobileAdsPlugin: processDebugJavaRes NO - SOURCE
: GooglePlayGamesManifest. Plugin: generateDebugBuildConfig
: GooglePlayGamesManifest. Plugin: prepareLintJar
: GooglePlayGamesManifest. Plugin: javaPreCompileDebug
: GooglePlayGamesManifest. Plugin: processDebugJavaRes NO - SOURCE
: compileDebugNdk NO - SOURCE
: mergeDebugShaders
: compileDebugShaders
: generateDebugAssets
: Firebase: mergeDebugShaders
: Firebase: compileDebugShaders
: Firebase: generateDebugAssets
: Firebase: mergeDebugAssets
: GoogleMobileAdsPlugin: mergeDebugShaders
: GoogleMobileAdsPlugin: compileDebugShaders
: GoogleMobileAdsPlugin: generateDebugAssets
: GoogleMobileAdsPlugin: mergeDebugAssets
: GooglePlayGamesManifest. Plugin: mergeDebugShaders
: GooglePlayGamesManifest. Plugin: compileDebugShaders
: GooglePlayGamesManifest. Plugin: generateDebugAssets
: GooglePlayGamesManifest. Plugin: mergeDebugAssets
: mergeDebugAssets
: mergeDebugJniLibFolders
: Firebase: compileDebugNdk NO - SOURCE
: Firebase: mergeDebugJniLibFolders
: Firebase: transformNativeLibsWithMergeJniLibsForDebug
: Firebase: transformNativeLibsWithStripDebugSymbolForDebug
: Firebase: transformNativeLibsWithIntermediateJniLibsForDebug
: GoogleMobileAdsPlugin: compileDebugNdk NO - SOURCE
: GoogleMobileAdsPlugin: mergeDebugJniLibFolders
: GoogleMobileAdsPlugin: transformNativeLibsWithMergeJniLibsForDebug
: GoogleMobileAdsPlugin: transformNativeLibsWithStripDebugSymbolForDebug
: GoogleMobileAdsPlugin: transformNativeLibsWithIntermediateJniLibsForDebug
: GooglePlayGamesManifest. Plugin: compileDebugNdk NO - SOURCE
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related