- Home /
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
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!
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613131254im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Android build error: unrecognized pixel format 264 0 Answers
Can't push App to Android Device 0 Answers
Unity crashing my Macbook Air during android builds 0 Answers
Unity 2020.2.1 Gradle BUild Error 1 Answer
Silent Android build failure 7 Answers