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 /
avatar image
0
Question by manaslegodesigns · Dec 08, 2017 at 08:17 AM · errorapk

Unable to build my project on android phone

Hi guys please help: 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/unity3d/ads/BuildConfig; See the Console for details.

Pleeeeeeeeeese help because i am on pc and cannot test my game otherwise. Any help would be appreciated. Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Comment
Add comment · Show 10
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 manaslegodesigns · Dec 08, 2017 at 08:18 AM 0
Share

Unity 2017.3.ob.10 Jdk=8 android studio = latest version

avatar image Ginxx009 · Dec 08, 2017 at 08:29 AM 0
Share

How did you configure your playing setting and can you show me your preference .

avatar image manaslegodesigns Ginxx009 · Dec 08, 2017 at 08:55 AM 0
Share

alt text

screen-shot-2017-12-08-at-22304-pm.png (41.4 kB)
avatar image manaslegodesigns Ginxx009 · Dec 08, 2017 at 08:57 AM 0
Share

alt text

screen-shot-2017-12-08-at-22554-pm.png (20.5 kB)
avatar image manaslegodesigns Ginxx009 · Dec 08, 2017 at 08:58 AM 0
Share

alt text

screen-shot-2017-12-08-at-22641-pm.png (59.6 kB)
Show more comments
avatar image Hellium · Dec 08, 2017 at 08:36 AM 0
Share

I'm not an expert but com.android.dex.DexException: $$anonymous$$ultiple dex files define Lcom/unity3d/ads/BuildConfig; seems to indicate you have added your Ads plugin multiple times

avatar image manaslegodesigns Hellium · Dec 08, 2017 at 08:50 AM 0
Share

Any ideas on how to fix it Thanks a lot man

avatar image Hellium manaslegodesigns · Dec 08, 2017 at 09:13 AM 0
Share

I don't have any idea sorry. I've never used Ads plugins.

Show more comments

2 Replies

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

Answer by Ginxx009 · Dec 08, 2017 at 09:17 AM

Here's a tip and you might wanna try this remedy :

  • Close Unity Editor

  • Backup your project

  • Remove any folder or meta file called UnityAds from your project’s Assets/Libs folder

  • Remove any folder or meta file called UnityAds from your project’s Assets/Plugins/Android folder

  • Start Unity

  • Build your project for Android

If this doesn’t work, try doing an Assets > Reimport All, then building again. Hopefully, future version of Unity will solve this problem automatically. Good luck out there!

Comment
Add comment · Show 3 · 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 manaslegodesigns · Dec 08, 2017 at 09:31 AM 0
Share

Thanks will try this out

avatar image Ginxx009 manaslegodesigns · Dec 08, 2017 at 09:51 AM 0
Share

Goodluck mate

-cheers

avatar image manaslegodesigns · Dec 08, 2017 at 09:59 AM 0
Share

Hey dude thanks i tried to change the bundle identifier to my previous one and it worked. I will reward you with some points. Thanks a lot THAN$$anonymous$$S

avatar image
0

Answer by manaslegodesigns · Dec 08, 2017 at 09:53 AM

Hi see i tried this out,it now comes to the stage where it asks to install the app. Then it does not install the app but gives this error. Please help Thanks for the idea of removing ads. heres the error: CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. /Users/apple/Library/Android/sdk/platform-tools/adb -s "13cbda3c9804" install -r "/Users/apple/Desktop/Cubed Scene1/TheBestGame.apk"

stderr[ Failed to install /Users/apple/Desktop/Cubed Scene1/TheBestGame.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.manas.bam signatures do not match the previously installed version; ignoring!] ] stdout[

] 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.ADB.RunInternal (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.ADB.Run (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidDevice.Exec (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidDevice.Install (System.String apkfile, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.AndroidDeploymentTargetsExtension+c_AnonStorey2.<>m0 () UnityEditor.Android.AndroidDeploymentTargetsExtension.UploadAPK (UnityEditor.BuildReporting.BuildReport buildReport, UnityEditor.Android.AndroidDevice device, UnityEditor.ProgressTaskManager taskManager) UnityEditor.Android.AndroidDeploymentTargetsExtension+cAnonStorey1.<>m0 () UnityEditor.ProgressTaskManager.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Utils/ProgressBarUtils.cs:71) UnityEditor.Android.AndroidDeploymentTargetsExtension.LaunchBuildOnTarget (UnityEditor.BuildReporting.BuildReport buildReport, DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) UnityEditor.DeploymentTargets.DeploymentTargetManager.LaunchBuildOnTarget (BuildTargetGroup targetGroup, UnityEditor.BuildReporting.BuildReport buildReport, DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at /Users/builduser/buildslave/unity/build/Editor/Mono/DeploymentTargets/DeploymentTargetManager.cs:36) UnityEditor.PostprocessBuildPlayer+cAnonStorey0.<>m_1 () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:181) UnityEditor.ProgressTaskManager.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Utils/ProgressBarUtils.cs:71) UnityEditor.PostprocessBuildPlayer.Launch (BuildTargetGroup targetGroup, BuildTarget buildTarget, System.String path, System.String productName, BuildOptions options, UnityEditor.BuildReporting.BuildReport buildReport) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:197) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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

95 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

Related Questions

Signed .apk error 0 Answers

CommandInvokationFailure: Unable to install APK to device 6 Answers

unity apk build problem,apk build problem 0 Answers

Can't export apk! (unity android-facebook) 0 Answers

CommandInvokationFailure: Failed to re-package resources. See the Console for details. 0 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