When trying to build OpenStreetMapView from git://github.com/osmdroid/osmdroid, I get this error:
failed to find target with hash string android-23: D:\\User
This poblem is solved for me after Run as administrator the Andorid Studio
Run as administrator
Andorid Studio