Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by hka3 · Oct 27, 2019 at 09:00 AM · androidbuildbuild-error

Build failure

hello together, I get this error every time I try to build my game. I was looking for problem solutions but nothing helped me. the problem is not only with this game. (watch screenshot) I hope someone can help me with this.

Best regards Hasanalt text

Execution failed for task ':transformDexArchiveWithExternalLibsDexMergerForRelease'. > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\0.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\1.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\2.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\3.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\4.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\5.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\6.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\7.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\8.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\9.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\10.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\11.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\12.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\13.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\14.jar, D:\LowPixel\Food crashy\Temp\gradleOut\build\intermediates\transforms\dexBuilder\release\15.jar Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes. Program type already present: com.unity3d.ads.BuildConfig

unity.jpg (82.1 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 jwtan_unity · Nov 11, 2019 at 06:14 AM 0
Share

What Unity version are you using? Are you using Unity Ads or Unity IAP?

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by hka3 · Nov 11, 2019 at 11:47 AM

@jwtan_unity Unity 2019.1.0f2 (64-bit) and yes I use Unity Ads and Unity IAP.

Comment
Add comment · Show 5 · 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
avatar image jwtan_unity · Nov 11, 2019 at 12:02 PM 0
Share

Can you please post the entire error message? You should open the editor log and copy it from there ins$$anonymous$$d.

avatar image hka3 · Nov 11, 2019 at 10:45 PM 0
Share

@jwtan_unity here the a link to the .txt file. its to big for Unity Answer. link text

avatar image jwtan_unity · Nov 12, 2019 at 04:10 AM 0
Share

"D8: Program type already present: com.unity3d.ads.UnityAds$FinishState"

Looks like you have multiple versions of the Unity Ads plugin in your project. Try removing one of them.

avatar image hka3 · Nov 14, 2019 at 08:49 AM 0
Share

@jwtan_unity unfortunately did not work. the problem is still there:(

avatar image jwtan_unity · Nov 15, 2019 at 03:19 AM 0
Share

What files did you remove? Did the error message change?

We would advise that you use the Unity Ads and Unity IAP packages from the package manager. If you have previously installed these from the Asset Store, you should remove them from your project and reinstall them from the package manager. You can try searching for .aar files in your project to make sure there aren't any orphaned libraries hiding somewhere.

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

327 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 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 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 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

when i click switch platform to Android, the unity program just crashed 1 Answer

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors 0 Answers

Temp\gradleOut\launcher\build\outputs\bundle\release\launcher-release.aab does not exist 0 Answers

Failed to re-package resources 0 Answers

Script attached to 'PlayerWithAuthPrefab' in scene '' is missing or no valid script is attached error when making android build 5 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