I need to develop an Android app that needs to display maps but has to work offline all of the time, also the maps correspond to a small city, after browsing a bit I stumbled upon osmdroid
, and this along with the usage of a small .mbtiles
file seemed ideal, in fact i used this fine post to help me out.
After running the sample app, the MapView
gets displayed but no tile does, only default grey tiles. The only thing resembling an error i can find is the following snippet on the debugger:
09-26 16:55:53.931 353-353/com.example.myfirstapp2 I/dalvikvm: Could not find method org.osmdroid.views.MapView.getScaleX, referenced from method org.osmdroid.views.overlay.SafeDrawOverlay.draw
09-26 16:55:53.931 353-353/com.example.myfirstapp2 W/dalvikvm: VFY: unable to resolve virtual method 1476: Lorg/osmdroid/views/MapView;.getScaleX ()F
Any help appreciated.