android - Superpowered native functions not available at runtime -


i have got cross example android studio 2.0

i successful build , deploy android device moment runs fails java main activity can't find native methods built in example cpp file. cpp building correctly.

                                                                          java.lang.unsatisfiedlinkerror: no implementation found void com.clayteq.audiosupertest.mainactivity.superpoweredexample(java.lang.string, long[]) (tried java_com_clayteq_audiosupertest_mainactivity_superpoweredexample , java_com_clayteq_audiosupertest_mainactivity_superpoweredexample__ljava_lang_string_2_3j)                                                                             @ com.clayteq.audiosupertest.mainactivity.superpoweredexample(native method)                                                                             @ com.clayteq.audiosupertest.mainactivity.oncreate(mainactivity.java:57)`` 

i'm missing somewhere! appears object cpp operation not being included.

the superpowered installation examples on github pages fall little short if new native development!

the .cpp file includes sections export it's methods qualified java package names.

as i'd built project under own package packages exported cpp link mismatch.

scan .cpp file jniexport instances , make exported classes match java package name!

( why after day of 'learning curve' post stackoverflow , find answer minutes afterward? )


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -