I am developing an android app with Skobbler. After updating to the latest version of the Skobbler SDK (2.2.0) we got this problem
Sometimes the map just works. The Background is displayed and all the markers. But next time starting the App (without even change something) the background stays gray and it says:
E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /null/res/xhdpi/icon_map_popup_navigate.png: open failed: ENOENT (No such file or directory)
E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /null/res/xhdpi/icon_map_popup_arrow.png: open failed: ENOENT (No such file or directory)
It seems like die SDK sometimes drops the path to the MapResources (null). The files are in place and as I said, sometimes it works.
The initialisation of the MapResources worked with the last Version. There were no Problems.
What I've changed:
- Added mapView.resume() and mapView.pause() in my MapActivity
- Replaced mercadorToGps and gpsToMercador with coordinateToPoint and pointToCoordinate because old Methods were removed
- Replaced zoomToLevel() with animateToZoomLevel() because old Methods were removed
I would love to use the new Version of the SDK, but as it is now I can't.