I have this issue in Unity 4.2.1 when i try to build and run on a device.
Device is Huawei T-Mobile Move Balance and it has Android 2.3.5, unknown sources and usb debugging are checked.
Does someone knows a solution to this?
Thanks
Unity Log:
Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
F:/Android Development/Android SDK/adt\platform-tools\adb.exe -s ďż˝ shell getprop
Nothing, only help commands are shown, but iâm guessing i need to write the device name between -s and shellâŚ
How can i get the correct device name?
If anyone has figured this out, I would be glad to know how to fix it. Iâm in the process of using BFS Google Play Games Services plugin to add Leaderboards, Achievements Etc to my game. Now, when I try to build I get this exact error. Any ideas?
Hello, i have same problem, but in different case:
Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
C:/Users/sealkh/AppData/Local/Android/android-sdk\platform-tools\adb.exe -s CKT X shell getprop
my deviceId contain space inside and this command works fine if id enclosed in quotes like this:
C:/Users/sealkh/AppData/Local/Android/android-sdk\platform-tools\adb.exe -s âCKT Xâ shell getprop
I have the same problem with you,
"
Unity Log:
Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
F:/Android Development/Android SDK/adt\platform-tools\adb.exe -s ďż˝ shell getprop
"
I know itâs funny but it actually worked after I re-plugged in the USB, however you should check the SDK manager first to make sure that your Android SDK is already installed.
Because, even if you have installed them through the path âopen Android Studio>configure>SDK managerâ and the status have showed that âinstalledâ, it still doesnât mean that the SDK has installed successfully. So you need to go to the Android SDK Location (where the SDK folder is located), open the âSDK managerâ in this path, then check the install status in details.
Like this, in âpicture1â, (when you open Android Studio>configure>SDK manager), the status shows âinstalledâ,
However, when you go to the Android SDK Location (where the SDK folder is located, as âpicture2â below),
after you open the SDK manager in this folder, it shows that the install status is ânot compatibleâ. (as 'âpicture3â below)
picture 2: Android SDK Location (where the SDK folder is located)
So you need to check in details and re-install the failed ones. Finally, donât forget to re-plugged the USB or restart your SDK manager or your phone to reload data.
I had the same problem, too. I tried all the ways up there but nothing changed. After several days I looked to the developer settings and I found something and it worked for me.
Developer Options > Turn on âInstall via USBâ option.
And after that, I restarted my device and unity and I killed the adb.exe from task manager.