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
13
Question by ToastyVR · Mar 06, 2017 at 06:09 PM · build and run

CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the editor

Unable to build and run. Using Unity 5.5.1f1 Personal (64bit) on a macbook pro and connected to a rooted samsung s4 active. Some builds will work but recently unable to run and build 2 projects. Console gives me these failures.

1) UnityException: Bundle Identifier has not been set up correctly Please set the Bunbel Identifier in the Player Settings. The value must follow the convention ‘com.YourCompanyName.YourProductName and can contain alphanumeric characters and underscore.

2 and 3 are identical 2&3) 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. /user/developmentlab/Library/Android/sdk/platforn-tools/adb -s"8f4e23a5"install-r*/user/developmentlab/Helicopter 1/Helicopter 1.apk*

Any help would be grateful.

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 jaweherncir · Apr 29, 2020 at 10:28 AM 0
Share

Please i need a help 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. C:\Users\LENOVO\AppData\Local\Android\sdk\platform-tools\adb.exe -s "AGY7N19312001479" install -r -d "C:\Users\LENOVO\Documents\Ather $$anonymous$$ethodeGmail\bnnb.apk"

13 Replies

· Add your reply
  • Sort: 
avatar image
54

Answer by izeko2004 · May 16, 2017 at 07:40 PM

I Also found that the app had previously been installed but needed to be uninstalled first.

Comment
Add comment · Show 10 · 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 better_walk_away · Aug 02, 2018 at 09:05 AM 1
Share

Yes, this is the exact solution for me. Too bad we have to trial & error to try to solve the problem but don't know what is going on.

avatar image audasoft · Nov 09, 2018 at 10:48 AM 0
Share

Had same issue, this solved it.

avatar image burnout156 · Mar 15, 2019 at 09:18 PM 0
Share

thanks, it's work on me

avatar image joshuapeacock · May 03, 2019 at 07:29 AM 0
Share

This works for me as well. But I never had to do this before. A more permanent solution would be great.

avatar image trakevital joshuapeacock · Jan 20, 2021 at 03:46 PM 1
Share

In my case the reason I had this error was because I added a keystore to the app while the app on the phone didn't have one

avatar image bixi · Mar 05, 2020 at 02:39 PM 0
Share

Thanks you :) I was afraid it would take some time to solve this issue, but this was easy :)

Show more comments
avatar image
11

Answer by Lu_Atar · May 05, 2020 at 08:44 PM

I had this issue a moment ago when I tried to Build & Run on my Android phone. I have Android SDK and all other SDKs up to date. Eventually, the problem was in my phone Xiaomi. I had to go to Settings -> Developer Options, check "Install via USB", and uncheck "Verify apps over USB", then it worked. Maybe one of these settings is optional.

Comment
Add comment · Show 2 · 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 c-desmarais · Jun 22, 2020 at 03:00 PM 0
Share

Thanks a lot. Worked for me too. Xiaomi $$anonymous$$i 9 $$anonymous$$odel.

Disabling : Verify apps over USB did the trick for me as well.

avatar image eovento · Mar 20 at 02:05 AM 0
Share

Life saver!

avatar image
4

Answer by JuliusdeBlaaij · Jul 31, 2018 at 08:10 AM

For anyone stumbling across this, this is wrong. Your package name should be along the lines of: com.YourCompanyName.YourAppName Don`t copy that, but fill in the YourCompanyName with your actual name or some fictional name whatever, YourAppName should be the name of your app, but it doesn`t have to match exactly! It could be rainbowTiger if you wanted to.

Comment
Add comment · Show 1 · 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 ProducedByTiG · Nov 18, 2018 at 10:23 PM 0
Share

this worked for me

avatar image
2

Answer by AurimasBlazulionis · Mar 06, 2017 at 06:16 PM

Go to Edit/Project Settings/Player, select android and in publishing settings change com.yourCompany... to com. + whatever you want after that.

The latter error is rather simple, make sure usb debugging is active, and if it does not work, just transfer the apk file to your device.

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
avatar image
1

Answer by ToastyVR · Mar 06, 2017 at 06:44 PM

Thank you. Will try that right now. com.companyName.project are set. Android USB debugging is on.

Trying to build and save to desktop but nothing happens. still get the UnityException: Bundle Identifier has not been set up correctly Please set the Bundel Identifier in the Player Settings. The value must follow the convention ‘com.YourCompanyName.YourProductName and can contain alphanumeric characters and underscore.

Now I am receiving 2 others.

1) Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> UnityEngine.MissingReferenceException: The object of type 'AudioSource' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. at (wrapper managed-to-native) UnityEngine.AudioSource:Stop () at Vuforia.DefaultTrackableEventHandler.OnTrackableStateChanged (Status previousStatus, Status newStatus) [0x00051] in /Users/bobadrion/Helicopter 1/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs:67 at Vuforia.TrackableBehaviour.OnTrackerUpdate (Status newStatus) [0x00000] in :0 at Vuforia.DataSetTrackableBehaviour.OnTrackerUpdate (Status newStatus) [0x00000] in :0 at Vuforia.StateManagerImpl.SetTrackableBehavioursForTrackableToNotFound (Trackable trackable) [0x00000] in :0 at Vuforia.ObjectTrackerImpl.Stop () [0x00000] in :0 at Vuforia.VuforiaARController.StopVuforia () [0x00000] in :0 at Vuforia.VuforiaARController.OnDisable () [0x00000] in :0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000b9] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Delegate.cs:443 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MulticastDelegate.cs:71 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Delegate.cs:415 at Vuforia.DelegateHelper.InvokeDelegate (System.Delegate action, System.Object[] args) [0x00000] in :0 UnityEngine.Debug:LogError(Object) Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[]) Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action) Vuforia.VuforiaAbstractBehaviour:OnDisable()

2) Could not deinitialize the tracker. UnityEngine.Debug:LogError(Object) Vuforia.TrackerManagerImpl:DeinitTracker() Vuforia.VuforiaARController:OnDestroy() System.Delegate:DynamicInvoke(Object[]) Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[]) Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action) Vuforia.VuforiaAbstractBehaviour:OnDestroy()

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
  • 1
  • 2
  • 3
  • ›

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

118 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

Related Questions

Simple project on Android: Builds correctly, runs on device, but it is very buggy. 1 Answer

A have a plethora of problems! 0 Answers

Project build lagging on android after unity update. 3 Answers

Why unity not working after launching .exe but works when build and run? 0 Answers

textures white/grey after build and run 3 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