- Posts: 50
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Sony Xperia XA - Crash/Incompatibility with so-libs
IP: 192.168.0.71
7 years 9 months ago #13677
by apait
Sony Xperia XA - Crash/Incompatibility with so-libs was created by apait
Hi,
there is a device which seems to be incompatible with your pdf-lib (v3.15)
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathListzip file "/mnt/asec/.../base.apk"],nativeLibraryDirectories=[/mnt/asec/.../lib/arm, /mnt/asec/.../base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib] couldn't find "librdpdf.so"
Xperia XA
DEVICE
Portrait
ORIENTATION
On
PROXIMITY
Operating System
7.0
OS VERSION
Portrait
UI ORIENTATION
No
thanks,
lukas
there is a device which seems to be incompatible with your pdf-lib (v3.15)
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathListzip file "/mnt/asec/.../base.apk"],nativeLibraryDirectories=[/mnt/asec/.../lib/arm, /mnt/asec/.../base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib] couldn't find "librdpdf.so"
Xperia XA
DEVICE
Portrait
ORIENTATION
On
PROXIMITY
Operating System
7.0
OS VERSION
Portrait
UI ORIENTATION
No
thanks,
lukas
IP: 192.168.0.71
7 years 9 months ago #13678
by support
Replied by support on topic Sony Xperia XA - Crash/Incompatibility with so-libs
Are you experiencing the same issue with our demo project?
Here the list of check you shall do:
- are you using our library in your own application? check if you're mixing different native libraries with different architecture coverage
- check which kind of architecture your device have (use app like cpu-z or similar) and give the result to us
- send use the complete trace log
Here the list of check you shall do:
- are you using our library in your own application? check if you're mixing different native libraries with different architecture coverage
- check which kind of architecture your device have (use app like cpu-z or similar) and give the result to us
- send use the complete trace log
IP: 192.168.0.71
7 years 9 months ago #13683
by apait
Replied by apait on topic Sony Xperia XA - Crash/Incompatibility with so-libs
Hi,
- yes we are using only your library, no different native libs
- device-architecture: i am not in possesion of this device. it's a log from crashlytics.
a quick search:
CPU Octa-core (4x2.0 GHz Cortex-A53 & 4x1.0 GHz Cortex-A53)
developer.arm.com/products/processors/cortex-a/cortex-a53
- stacktrace and code:
Crash occurs at "System.loadLibrary("rdpdf");"
- yes we are using only your library, no different native libs
- device-architecture: i am not in possesion of this device. it's a log from crashlytics.
a quick search:
CPU Octa-core (4x2.0 GHz Cortex-A53 & 4x1.0 GHz Cortex-A53)
developer.arm.com/products/processors/cortex-a/cortex-a53
- stacktrace and code:
Code:
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/at.apa.pdfwlclient.derstandard-1/base.apk"],nativeLibraryDirectories=[/mnt/asec/at.apa.pdfwlclient.derstandard-1/lib/arm, /mnt/asec/at.apa.pdfwlclient.derstandard-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "librdpdf.so"
java.lang.Runtime.loadLibrary0 (Runtime.java:972)
java.lang.System.loadLibrary (System.java:1530)
com.radaee.pdf.Global.Init (Global.java:517)
com.radaee.pdf.Global.Init (Global.java:47)
at.apa.pdfwlclient.pdfreader.PDFReaderActivity.getStartIntent (PDFReaderActivity.java:189)
Crash occurs at "System.loadLibrary("rdpdf");"
Code:
public static boolean Init(ContextWrapper act, int license_type, String company_name, String mail, String serial)
{
if(ms_init) return true;
if( act == null ) return false;
// load library
System.loadLibrary("rdpdf");
IP: 192.168.0.71
7 years 9 months ago #13684
by support
Replied by support on topic Sony Xperia XA - Crash/Incompatibility with so-libs
That cpu (Helio P1 MT6755) is working correctly with our library.
It seems the application interruption isn't about a crash: it seems about the operating system is trying to load the native library.
Android on that device is trying to load the native library from /base.apk!/lib/armeabi-v7a and /lib/arm.
May you check if you're including both armeabi and armeabi-v7a builds of our native?
It seems the application interruption isn't about a crash: it seems about the operating system is trying to load the native library.
Android on that device is trying to load the native library from /base.apk!/lib/armeabi-v7a and /lib/arm.
May you check if you're including both armeabi and armeabi-v7a builds of our native?
IP: 192.168.0.71
7 years 9 months ago #13698
by mobapa
Replied by mobapa on topic Sony Xperia XA - Crash/Incompatibility with so-libs
yes, we are including both...
btw. have you blocked our apait-user? can't login/reply with it anymore.
btw. have you blocked our apait-user? can't login/reply with it anymore.
IP: 192.168.0.71
7 years 9 months ago #13721
by apait
Replied by apait on topic Sony Xperia XA - Crash/Incompatibility with so-libs
Hi,
- yes we are using only your library, no different native libs
- device-architecture: i am not in possesion of this device. it's a log from crashlytics.
a quick search:
CPU Octa-core (4x2.0 GHz Cortex-A53 & 4x1.0 GHz Cortex-A53)
developer.arm.com/products/processors/cortex-a/cortex-a53
- stacktrace and code:
Crash occurs at "System.loadLibrary("rdpdf");"
- yes we are using only your library, no different native libs
- device-architecture: i am not in possesion of this device. it's a log from crashlytics.
a quick search:
CPU Octa-core (4x2.0 GHz Cortex-A53 & 4x1.0 GHz Cortex-A53)
developer.arm.com/products/processors/cortex-a/cortex-a53
- stacktrace and code:
Code:
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/at.apa.pdfwlclient.derstandard-1/base.apk"],nativeLibraryDirectories=[/mnt/asec/at.apa.pdfwlclient.derstandard-1/lib/arm, /mnt/asec/at.apa.pdfwlclient.derstandard-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "librdpdf.so"
java.lang.Runtime.loadLibrary0 (Runtime.java:972)
java.lang.System.loadLibrary (System.java:1530)
com.radaee.pdf.Global.Init (Global.java:517)
com.radaee.pdf.Global.Init (Global.java:47)
at.apa.pdfwlclient.pdfreader.PDFReaderActivity.getStartIntent (PDFReaderActivity.java:189)
Crash occurs at "System.loadLibrary("rdpdf");"
Code:
public static boolean Init(ContextWrapper act, int license_type, String company_name, String mail, String serial)
{
if(ms_init) return true;
if( act == null ) return false;
// load library
System.loadLibrary("rdpdf");
Time to create page: 0.492 seconds