- Home /
Build and Run to Android Problems
When I try to build and run, this error message pops up:
Error building Player: Win32Exception: ApplicationName='C:/Users/Jeanette/Desktop/Aaron's Files/Android SDK\platform-tools\adb.exe', CommandLine='devices', CurrentDirectory='C:/Users/Jeanette/Desktop/Aaron's Files/Android SDK'
I haven't been able to figure this out. Any help would be appreciated.
P.S. Everything goes well until this part "trying to locate suitable android device"
I'm guessing that you have the Android SD$$anonymous$$ installed. Is your device set in developer mode?
have you check that adb.exe
exists in that Application path? if yes, are your device connected to your computer and set to debugging mode?
@saikoyama please post your Unity Version and SD$$anonymous$$ version
@Wildan $$anonymous$$ubarok Where would I find the adb.exe and where would i put it? $$anonymous$$y device is all set up, so my problem's on the computer side.
Answer by JackF · Dec 25, 2014 at 08:56 AM
The problem is your Windows (PC) cannot connect to your Android device. Normally the way to make sure the connection is using adb command : "adb devices"
For example.
$ adb devices
List of devices attached
0605a1fe00245d18 device
On your PC, it might be C:/Users/Jeanette/Desktop/Aaron's Files/Android SDKplatform-toolsadb.exe devices
This is Android issue, instead of Unity. For more information about adb, please visit http://developer.android.com/tools/help/adb.html Your phone must be on developer mode to make adb connect the phone.
Answer by WillNode · Dec 25, 2014 at 08:32 AM
the error trying to locate suitable android device
meaning there is no attached android device to install.
there is some checklist that you need to perform before you build and run your APK
:
check that
adb.exe
exists inApplicationName
parameter in your error messagemake sure you have downloaded and intalled
Google USB Driver
in Android SDK Managermake sure that your device Connected to your PC with Debugging USB Enabled and your PC can recognize them using this command :
adb devices
the number 2 and 3 can be avoided if you using the Build
button, however, you need to move your APK
file manually to your device before you can test it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613174828im_/https://answers.unity.com/themes/thub/images/avi.jpg)