eclipse - How to install Sqlcipher-adapter-plugin to Worklight - Android -


how can include necessary '.so' files android environment of worklight project plugin works effectively?

plugin github: https://github.com/litehelpers/cordova-sqlcipher-adapter

general info:

  • worklight version: 6.2.0.01-20141216-0427
  • this hybrid worklight project

i want utilize sqlcipher cordova plugin store , encrypt data locally on device. want use rather jsonstore can reuse existing application js code websql db have encrypt data (this plugin uses same api).

what have done far:

i have attempted 2 approaches android environment: 1. external android library project:

  **outcome** -- despite pulling library project , trying of solutions @ link: https://stackoverflow.com/questions/7870265/unable-to-execute-dex-multiple-dex-files-define-lcom-myapp-rarray cannot past error:  `[2011-10-23 16:23:29 - dex loader] unable execute dex: multiple dex files define lnet/sqlcipher/r$drawable; 

[2011-10-23 16:23:29 - myproj] conversion dalvik format failed: unable execute dex: multiple dex files define lnet/sqlcipher/r$drawable;`

  1. adding .jar directly android worklight environment: have succesfully added sqlcipher.jar android project via 'configure build path...' --> 'add jar'. plugin not working -- makes sense because i cannot '.so' files loaded project

    i have tried including them in android/nativeresources folder libs/armeabi, libs/armeabi-v7a, , libs/x86 should override corresponding folders in native/libs folder according link: adding native code existing worklight hybrid app

    how can these files loaded in?

any appreciated! i'm new user can't upload photos yet, sorry! update photos can.

unfortunately, jsonstore coupled sqlcipher 2.1 in 6.2 can removal of jar file not trivial. solved in next version of worklight (7.2). suggest not including jsonstore in hybrid can utilize cordova plugin uses different version of sqlcipher.


Comments