Whenever i use cordova-plugin-mfp
in my cordova project & try to build with command cordova build android --release
, one of the cordova plugin which contains .so file goes down.
But the same project works fine without cordova-plugin-mfp
plugin.
And the same project works fine with cordova-plugin-mfp
plugin building with command cordova build android
.
I am not able to disclose more about plugin which contains .so file.
Following is the output log:
A/libc: Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 2977 (WebViewCoreThre)
04-06 15:17:23.471 10565-10565/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000c
It seems that GetFieldID
refers to Null at .c file in the plugin.
The release mode excludes some files in the project that might seem unimportant. Can you try setting the attribute "minifyEnabled" to false in the "pcportal-build-extras.gradle" file that gets added along with the mfp plugin and run a cordova build android --release ?
User contributions licensed under CC BY-SA 3.0