failed to find target with hash string android-23

后端 未结 20 2927
梦如初夏
梦如初夏 2020-12-02 16:18

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         


        
相关标签:
20条回答
  • 2020-12-02 17:08

    Open the Android SDK Manager and Update with latest.

    0 讨论(0)
  • 2020-12-02 17:08

    Mine was complaining about 26. I looked in my folders and found a folder for 27, but not 26. So I modified my build.gradle file, replacing 26 with 27. compileSdkVersion, targetSdkVersion, and implementation (changed those numbers to v:7:27.02). That changed my error message. Then I added buildToolsVersion "27.0.3" to the android bracket section right under compileSdkVersion.

    Now the make project button works with 0 messages.

    Next up, how to actually select a module in my configuration so I can run this.

    0 讨论(0)
提交回复
热议问题