Recently while using kony studio,
I have integrated Amazon SDK using ffi, but on firing the event it pops up a message saying noClassDefFoundError
:
Failed resolution of : Lcom/amazonaws/auth/CognitoCachingCredentialsProvider;
JS Stacktrace:
at init(analytics.js:2:15)
The analytics.js looks as below:
function init(){
analytics.init("someId","pool");
}
I am passing these parameters to the native implementation using FFI.
What could it be the cause of this error?