android - Adding an Skobbler Map to my empty App -


i trying set new project skobbler. i've integrated skmaps.jar , put buildpath. using androidstudio gradl.

now problem is: moment when call

skmaps.getinstance().initializeskmaps(this, initmapsettings, getstring(r.string.skobbler_api_key));

it throws exception

android.view.inflateexception: binary xml file line #44: error inflating class com.skobbler.ngx.map.skmapviewholder

and

couldn't load ngnative loader dalvik.system.pathclassloader[dexpathlist[[zip file "/data/app/de.aeins.theswap.swap-1.apk"],nativelibrarydirectories=[/data/app-lib/de.aeins.theswap.swap-1, /vendor/lib, /system/lib]]]: findlibrary returned null

i've got lib folder in project root , inside skmaps.jar , 3 libngnative.so files in seperate folders.

any idea what's going wrong?

i having same issue.

a couple of thoughts (this how got work)

1) make sure add skmaps.jar file in properties->java build path->libraries, , selected in order , export

2) realized in demo app bunch of work being done in splashactivity - initializing library. assume must done before layout inflated in activity. ended putting splashactivity in app, initializing library there before going activity displays map, , works.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -