I get an error on getInstance() method even though i followed the osmdroid documentation correctly

浪尽此生 提交于 2019-12-12 04:57:23

问题


getInstance() shows an error after following the doc correctly. but i need to know what version to be used here:

dependencies {
    compile 'org.osmdroid:osmdroid-android:(INSERT_VERSION_HERE):release@aar'
}

LINK https://github.com/osmdroid/osmdroid/wiki/How-to-use-the-osmdroid-library#main-activity

Any help?


回答1:


Use the latest version in a way specified at the documentation here :

compile 'org.osmdroid:osmdroid-android:5.6.5'

You can always check which version is the latest on github.



来源:https://stackoverflow.com/questions/45930978/i-get-an-error-on-getinstance-method-even-though-i-followed-the-osmdroid-docum

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!