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”

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 Android Debug Bridge (adb)  |  Android Studio  |  Android Developers
Your phone must be on developer mode to make adb connect the phone.

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 :

  1. check that adb.exe exists in ApplicationName parameter in your error message
  2. make sure you have downloaded and intalled Google USB Driver in Android SDK Manager
  3. make 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.