Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 kk93 · Jan 31, 2014 at 07:56 PM · androidbuild-error

Unity: Cannot find Android Device

Hello,

I just reinstalled windows on my computer, and now I am having a problem getting my Unity to recognize my device... I have downloaded sdk, installed jdk, set sdk path on Unity, and set debug mode on my phone. I have a driver for my phone installed on my computer, and Samsung Kies recognizes that the device is connected, so I don't think that it is a USB driver issue.

alt text alt text

Am I missing something here?

Thank you.

device_manager.png (46.3 kB)
sdk_list.png (139.8 kB)
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

3 Replies

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

Answer by supernat · Jan 31, 2014 at 08:21 PM

Try restarting adb. In a command prompt window, type:

 adb kill-server
 adb start-server

Then check it again. You also should be able to type in a command prompt window:

 adb devices

and see your device listed.

If you see the device there, you should be good to go, may have to restart Unity at that point.

Another thing to try is changing the USB Mode on the device. Some devices will only register with adb when they are in the USB Mass Storage mode (not PC mode) which seems backwards. So on your android device, pull down the top status bar, look for "USB Mode" or something like that and click it to change mode.

Also, on your SDK Manager, one of the last treeview items on the left is called Extras, and you need to install the Google USB Driver.

Lastly, make sure debug is turned on, on the device, but I suspect you already knew that and this is just a fresh windows install issue. I also had to select the driver in the device manager and tell windows to update it on one device but not others, it's all hit or miss with Android.

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 kk93 · Jan 31, 2014 at 08:52 PM 0
Share

Upon using command "adb devices," I learned that the device was "unauthorized," and I actually had to authorize the connection(?) (sorry I don't really know official ter$$anonymous$$ologies) from my phone as it recognized it as a brand new computer.

Thank you for such detailed answer!

avatar image supernat · Jan 31, 2014 at 10:10 PM 0
Share

Oh that's the one thing I forgot. Actually, I had the same problem two days ago, lol. That's why it was all fresh on my $$anonymous$$d. :)

avatar image
3

Answer by dwalker350 · Aug 10, 2015 at 04:03 AM

Also, make sure that you are not currently running Android Studio - or its Device Manager. Android Studio will prevent Unity from selecting 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
0

Answer by HydraGundam · Jun 12, 2017 at 08:07 AM

https://software.intel.com/en-us/xdk/docs/configuring-your-windows-usb-android-debug-connection-for-the-intel-xdk#Chrome_USB_Test

My computer didn't recognize my android device because of some driver shenanigans. The link above showed me how to fix my problem very easily.

I can finally "Build and Run" now. 8)

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

21 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

Related Questions

Silent Android build failure 7 Answers

Unity deleting and crashing on Android APK build 0 Answers

Android build error: unrecognized pixel format 264 0 Answers

Unity crashing my Macbook Air during android builds 0 Answers

Unity 2020.2.1 Gradle BUild Error 1 Answer


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