- Home /
Error Building Player: Win32Exception. No solution works
I'm trying to compile an android game on my 64bit Windows 7 and I keep getting this error.
Error building Player: Win32Exception: ApplicationName='G:/SDK'/adt-bundle-windows-x86_64-20140702/sdk\platform-tools\adb.exe', CommandLine='devices', CurrentDirectory='G:/SDK'/adt-bundle-windows-x86_64-20140702/sdk'
With a little bit of research I found that this can be fixed by either manually copying the adb.exe file and also the two DLLs "AdbWinApi.dll" and the "AdbWinUsbApi.dll" files from the platform-tools folder of the SDK directory to the tools folder. I tried all of these methods but I keep getting this error. How do I fix this guys?
I tried updating one of my games to Unity 5 free today.
I'm getting this error too.
I've tried everything from updating jre, jdk, android sdk. Updated all my PATH locations. Switch Env Var for JAVA_Home from 64 bit location to 32 bit, and back and forth again. I've moved the aforementioned files from platform-tolls to tools. I've Googled my butt off following suggestions from 2010 to 2015. Nothing fixes this.
Error building Player: Win32Exception: ApplicationName='D:/Code/Google All/Android/sdk\platform-tools\adb.exe', CommandLine='devices', CurrentDirectory='D:/Code/Google All/Android/sdk'
I'm using the new Google "Android Studio" for my SD$$anonymous$$. The Android SD$$anonymous$$ is very very much up to date.
I am using a Windows 8.1 64 bit installation.
JAVA_Home or JAVA_HO$$anonymous$$E?
Which version of JD$$anonymous$$ you got installed?
JAVA_HO$$anonymous$$E = "C:\Program Files (x86)\Java\jdk1.8.0_40\"
Answer by Yury-Habets · Mar 17, 2015 at 06:35 PM
First of all, you are mentioning two Android SDK locations in your question. You should decide one, and configure it in the Editor preferences.
Second, open this location and check adb.exe is in place.
I think (though not sure) it is better when Android SDK is in path without whitespaces.