Monday, February 16, 2015

SOLVED: Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor.

If you got an error saying "Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor." well it is simple to solve that.

Just open windows Task Manager, and find "adb.exe".
 Right click on adb.exe and press "End Task" at the bottom of the window.

This will kill process adb.exe, and that is it.

Just  open unity and try to rebuild your game.

This happens especially if you are using a HTC mobile device.


If killing adb.exe process won't solve your problem, there is also a program  named as adbfix, but I did not tried it, try it at your own risk, here is the link:

http://visualgdb.com/adbfix/


anyway I have a HTC mobile device and with unity it sometimes says  "Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor." When this happens I just reopen the task manager and kill adb.exe process then I will be able to build my game on my htc device.


Hope this helps someone.