问题
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