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 z_orochii · Sep 17, 2015 at 02:20 PM · androidbuild and run

Can't Build and Run because of device qualifier name

This is the error I get.

Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. D:/Programas/Development/sdk\platform-tools\adb.exe -s M4 SS1060 shell getprop

(Aside from help text from the adb).

I've seen this question being answered at least 2 times, but the solutions don't seem to work for me. adb finds my device properly, but it seems that when running that line in the command prompt:

 D:/Programas/Development/sdk\platform-tools\adb.exe -s M4 SS1060 shell getprop

It doesn't work. Now, I got it to work, in the command prompt, by adding some quotation quotes (I guessed the space in the name had something to do, and I was right):

 D:/Programas/Development/sdk\platform-tools\adb.exe -s "M4 SS1060" shell getprop

That way I do get the properties like I guess they should be. But that doesn't help, because I can't say Unity to add quotes around the device name (or haven't found where).

I've actually tested my "game" in my device by manually copying/installing it, but that defeats the purpose of having the convenience of the Build & Run option. And it's not like a problem with the device because I've built and run other test applications with, say, Eclipse and LibGDX.

So, any help will be greatly appreciated, because this really bugs me.

Comment
Add comment
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 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Bunny83 · Sep 17, 2015 at 03:31 PM

Someone had the same problem over here. If you scroll down "SeAlKh" has the same problem. I guess it's a bug in the Unity editor. They probably didn't think that the device name can have spaces.

You should file a bugreport (Help -> Report A Bug) and explain exactly what the problem is. Keep in mind they always try to reproduce the problem so make sure you add your exact device information and tell them that only devices with spaces in their name will cause that problem.

You might also want to add the link to this question as reference, so they might answer back once they fixed it.

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 z_orochii · Sep 17, 2015 at 11:58 PM 0
Share

I did filed the bug already and uploaded my test project (though it was kind of unnecessary because it wasn't specific to that project). If only I saw your response earlier, didn't thought about putting a link to this question, I hope they get to replicate the error, I think it should be an easy fix for them to do. I saw the link you provided but I thought I would try making a separate thread for it just to not deviate it. It had some months too, so I was not sure if someone would see it.

Thanks a lot.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Not pushing content to device 0 Answers

Build & Run Problems it Only loads my splashscreen 2 Answers

Build and run for android doesn't work 2 Answers

Build and Run doesn't install directly to Device. 2 Answers

Re-posting Build and run problem 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