littlemonkeyltd / QRScanner

CN1Lib for using ZBar scanning in Android apps.
MIT License
5 stars 10 forks source link

libiconv.so: has text relocations error #8

Open bbeckk opened 6 years ago

bbeckk commented 6 years ago

I have recently updated the app that uses QRScanner lib and has the following bug that cause app to crash. The error occured in nougat nokia 5 device. I checked the previous version of the app which works fine.

02-08 16:24:58.792 592-592/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.capitaleyenepal.lenovo, PID: 592 java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.capitaleyenepal.lenovo-2/lib/arm/libiconv.so: has text relocations at java.lang.Runtime.loadLibrary0(Runtime.java:989) at java.lang.System.loadLibrary(System.java:1562) at com.dm.zbar.android.scanner.ZBarScannerActivity.<clinit>(ZBarScannerActivity.java:28) at java.lang.Class.newInstance(Native Method) at android.app.Instrumentation.newActivity(Instrumentation.java:1079) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2558) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6121) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

NickoftheSouth commented 6 years ago

I believe this issue was fixed in the most recent update. Did you install the Cn1lib file from here, or through the cn1 system? There's a chance there version of the lib is out of date. Try to replace the cn1lib file from the one here and let us know if this issue persists

ivanilavsky commented 6 years ago

I had this issue too with library from cn1 Extensions. I replaced it with cn1lib from here but still no success. I uninstalled qrscanner.cn1lib completely a install it from here once again and now everything works ok.