MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.6k stars 625 forks source link

Unsatisfied link error Mailcore2 Android #1467

Open ganeshkarthick4 opened 8 years ago

ganeshkarthick4 commented 8 years ago

For my Android mail client app I have built mailcore2 for only armeabi. This is working fine on all arm devices, however it is failing on a Samsung Tab 3 which has primary abi - x86 and secondary - arm v7a.

_### D/houdini(32650): [407] Loading library(version: 4.0.8.45720 RELEASE)... successfully. D/houdini(32650): [407] Unsupported feature (ID:0x10600cae). D/houdini(32650): [407] Open Native Library /data/app-lib/myPackage/libMailCore.so failed. 06-30 23:43:07.429: W/dalvikvm(32650): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/libmailcore/MainThreadUtils; W/dalvikvm(32650): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/libmailcore/NativeObject; W/dalvikvm(32650): threadid=22: thread exiting with uncaught exception (group=0x433101a0) W/System.err(32650): java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/myPackage-1/libMailCore.so" has unexpected emachine: 40

When I build mailcore2 for both armeabi and x86, my app works fine but I have other libraries which work only on arm. Are there any solution for this?

GitHuber111 commented 6 years ago

i have same error for armeabi please answer