• 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 tedzhu · Jan 24, 2014 at 02:39 AM · androidbuild-erroradbnexus

Can't build & run for android (can adb install apk)

On Windows Unity 4.3, when I build use build & run, it stopped showing "No Android device found"

Here's the console output alt text

But I can build a apk, and use adb install test.apk to install to the Nexus 7. And adb devices lists the device.

I'm not sure what caused Unity not to recognize the device and build & run automatically. I can manually uninstall and build and install every time, but it's not very efficient.

BTW the build & run works fine on my Mac machine. Here's the environments where it won't work:

  • Windows x64

  • Unity v 4.3.3f1

  • Android SDK Tools r22.3

  • device is Nexus 7 (2013), updated to Android 4.4.2

Thanks to any thoughts on this!

unnamed qq screenshot20140123175849.jpg (24.4 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 RAnderson · May 30, 2016 at 11:10 AM 0
Share

Did you ever manage to solve this problem?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by kewur · Jan 24, 2014 at 08:05 AM

First, make sure unity knows where Android SDK is. If you'r sure it's correct than open up the cmd and go to the directory you installed Android.

go to the folder "platform-tools" like this

 cd c:\Android\platform-tools

and execute this command next

 adb devices -l

if your phone does not show up the phone is not connected to the computer, you might lack the drivers for it or your cable might be loose.

Also, Unity connects to the device by connecting to the adb manager, so your firewall might be blocking it.

You can also check if Unity can see the phone quickly if you install the Unity remote application from Google Play.

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 RAnderson · May 31, 2016 at 05:21 AM

Did anyone manage to solve this problem?

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

20 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

Related Questions

Android - Error building Player: CommandInvokationFailure: Failed to re-package resources 3 Answers

Failed to find Build Tools revision 29.0.0 - Android Builds 4 Answers

Android Build Error More than one file was found with OS independent path 'play-services-basement.properties' After adding Admob 0 Answers

Error when building peogram onto Android device 0 Answers

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 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