Anto
Anto

Reputation: 907

FileNotFoundException using skmaps

I'm creating an app using skobbler sdk. When i try to show a map, the app crashes and the logcat show this error:

E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /res/xhdpi/icon_map_popup_navigate.png: open failed: ENOENT (No such file or directory)

E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /res/xhdpi/icon_map_popup_arrow.png: open failed: ENOENT (No such file or directory)

A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 4476 (GLThread 192609)

When i launch the demo app (by skobbler), everything works well.

P.S. the 2 images are present in my skmaps.zip.

Thank you!

Upvotes: 2

Views: 194

Answers (1)

frogatto
frogatto

Reputation: 29285

Are located in a zip file in the assets folder of the app.

No, it's not enough! You should extract that ZIP file in your res/xhdpi directory.

Note: Folders drawable / mipmap

Upvotes: 2

Related Questions