Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by KHAN_KHAN · Sep 01, 2018 at 04:05 AM · admobgoogle play gamesconflict

Admob and Google Play Service error

**When I import admob and google play service plugins (Google Official) and try to build project for android its give me bellow error. Please I request you to help me to resolve this issue thank you. Admob : https://github.com/googleads/googleads-mobile-unity Google Play Games : https://github.com/playgameservices/play-games-plugin-for-unity**

CommandInvokationFailure: Gradle build failed. C:\Program Files\Java\jdk1.8.0_91\bin\java.exe -classpath "E:\Setups\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.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 ':transformDexWithDexForRelease'.

    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/auth/api/Auth$AuthCredentialsOptions$Builder;

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

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

BUILD FAILED in 8s ] stdout[ :preBuild UP-TO-DATE :GoogleMobileAdsPlugin:preBuild UP-TO-DATE :GoogleMobileAdsPlugin:preReleaseBuild UP-TO-DATE :GoogleMobileAdsPlugin:checkReleaseManifest :GoogleMobileAdsPlugin:processReleaseManifest :GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE :GooglePlayGamesManifest.plugin:preReleaseBuild UP-TO-DATE :GooglePlayGamesManifest.plugin:checkReleaseManifest :GooglePlayGamesManifest.plugin:processReleaseManifest :preReleaseBuild UP-TO-DATE :GoogleMobileAdsPlugin:compileReleaseAidl :GooglePlayGamesManifest.plugin:compileReleaseAidl :compileReleaseAidl UP-TO-DATE :GoogleMobileAdsPlugin:packageReleaseRenderscript NO-SOURCE :GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE :compileReleaseRenderscript UP-TO-DATE :checkReleaseManifest UP-TO-DATE :generateReleaseBuildConfig UP-TO-DATE :prepareLintJar UP-TO-DATE :generateReleaseResValues UP-TO-DATE :generateReleaseResources UP-TO-DATE :GoogleMobileAdsPlugin:compileReleaseRenderscript :GoogleMobileAdsPlugin:generateReleaseResValues :GoogleMobileAdsPlugin:generateReleaseResources :GoogleMobileAdsPlugin:packageReleaseResources :GooglePlayGamesManifest.plugin:compileReleaseRenderscript :GooglePlayGamesManifest.plugin:generateReleaseResValues :GooglePlayGamesManifest.plugin:generateReleaseResources :GooglePlayGamesManifest.plugin:packageReleaseResources :mergeReleaseResources UP-TO-DATE :createReleaseCompatibleScreenManifests UP-TO-DATE :processReleaseManifest :splitsDiscoveryTaskRelease UP-TO-DATE :GoogleMobileAdsPlugin:platformAttrExtractor :GooglePlayGamesManifest.plugin:platformAttrExtractor :GoogleMobileAdsPlugin:generateReleaseBuildConfig :GoogleMobileAdsPlugin:prepareLintJar UP-TO-DATE :GoogleMobileAdsPlugin:javaPreCompileRelease :GoogleMobileAdsPlugin:processReleaseJavaRes NO-SOURCE :GooglePlayGamesManifest.plugin:generateReleaseBuildConfig :GooglePlayGamesManifest.plugin:prepareLintJar UP-TO-DATE :GooglePlayGamesManifest.plugin:javaPreCompileRelease :GooglePlayGamesManifest.plugin:processReleaseJavaRes NO-SOURCE :compileReleaseNdk NO-SOURCE :mergeReleaseShaders UP-TO-DATE :compileReleaseShaders UP-TO-DATE :generateReleaseAssets UP-TO-DATE :GoogleMobileAdsPlugin:mergeReleaseShaders :GoogleMobileAdsPlugin:compileReleaseShaders :GoogleMobileAdsPlugin:generateReleaseAssets :GoogleMobileAdsPlugin:mergeReleaseAssets :GooglePlayGamesManifest.plugin:mergeReleaseShaders :GoogleMobileAdsPlugin:processReleaseResources :GoogleMobileAdsPlugin:generateReleaseSources :GoogleMobileAdsPlugin:compileReleaseJavaWithJavac :GoogleMobileAdsPlugin:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease :GooglePlayGamesManifest.plugin:compileReleaseShaders :GooglePlayGamesManifest.plugin:generateReleaseAssets :GooglePlayGamesManifest.plugin:mergeReleaseAssets :mergeReleaseAssets :mergeReleaseJniLibFolders UP-TO-DATE :GoogleMobileAdsPlugin:compileReleaseNdk NO-SOURCE :GoogleMobileAdsPlugin:mergeReleaseJniLibFolders :GoogleMobileAdsPlugin:transformNativeLibsWithMergeJniLibsForRelease :GoogleMobileAdsPlugin:transformNativeLibsWithIntermediateJniLibsForRelease :GooglePlayGamesManifest.plugin:compileReleaseNdk NO-SOURCE :GooglePlayGamesManifest.plugin:mergeReleaseJniLibFolders :GooglePlayGamesManifest.plugin:transformNativeLibsWithMergeJniLibsForRelease :GooglePlayGamesManifest.plugin:transformNativeLibsWithIntermediateJniLibsForRelease :processReleaseJavaRes NO-SOURCE :validateSigningRelease :GoogleMobileAdsPlugin:extractReleaseAnnotations :GoogleMobileAdsPlugin:mergeReleaseConsumerProguardFiles UP-TO-DATE :GooglePlayGamesManifest.plugin:processReleaseResources :processReleaseResources :generateReleaseSources :GooglePlayGamesManifest.plugin:generateReleaseSources :GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac :GooglePlayGamesManifest.plugin:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease :javaPreCompileRelease UP-TO-DATE :compileReleaseJavaWithJavac UP-TO-DATE :compileReleaseSources UP-TO-DATE :lintVitalRelease :transformClassesWithPreDexForRelease UP-TO-DATE :transformDexWithDexForRelease FAILED 62 actionable tasks: 43 executed, 19 up-to-date ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

alt text

![alt text]

alt text

capture-2.png (76.6 kB)
capture.png (58.2 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image $$anonymous$$ · Sep 01, 2018 at 02:27 PM 0
Share

https://forum.unity.com/threads/multidex-support-on-android.325429/

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by alaskry2002 · Aug 15, 2021 at 11:14 AM

me too if you solve it please tell me.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

93 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Possible conflict between plugin, error on build 1 Answer

How to change google play services achievement position? 2 Answers

Destroy Banner/Interstitial ads of AdMob? 0 Answers

Unity and Admob using latest Play Services Plugin 7 Answers

iOS Build crashing dyld: Symbol not found 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges