failed to find target with hash string android-23

后端 未结 20 2930
梦如初夏
梦如初夏 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 16:56

    Ensure the IDE recognizes that you have the package. It didn't on mine even after downloading 28, so I uninstalled then reinstalled it after realizing it wasn't showing up under File-Project Structure-Modules-App as a choice for SDK.

    On top of that, you may want to change your build path to match.

    Slightly related, the latest updates seem able to compile when I forced an update all the way to 28 for CompileSDK, and not just up to the new API 26 min requirement from Google Play. This is related to dependencies though, and might not affect yours

提交回复
热议问题