Sony Xperia XA - Crash/Incompatibility with so-libs - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Sony Xperia XA - Crash/Incompatibility with so-libs

Sony Xperia XA - Crash/Incompatibility with so-libs 5 months 2 weeks ago #13677

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Karma: 1
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Sony Xperia XA - Crash/Incompatibility with so-libs 5 months 2 weeks ago #13678

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 551
  • Karma: 6
  • Thank you received: 43
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

Please Log in or Create an account to join the conversation.

Sony Xperia XA - Crash/Incompatibility with so-libs 5 months 2 weeks ago #13683

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Karma: 1
  • Thank you received: 0
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:
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");"
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");

Please Log in or Create an account to join the conversation.

Sony Xperia XA - Crash/Incompatibility with so-libs 5 months 2 weeks ago #13684

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 551
  • Karma: 6
  • Thank you received: 43
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?

Please Log in or Create an account to join the conversation.

Sony Xperia XA - Crash/Incompatibility with so-libs 5 months 2 weeks ago #13698

  • mobapa
  • mobapa's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
yes, we are including both...

btw. have you blocked our apait-user? can't login/reply with it anymore.
Attachments:

Please Log in or Create an account to join the conversation.

Sony Xperia XA - Crash/Incompatibility with so-libs 5 months 1 week ago #13721

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Karma: 1
  • Thank you received: 0
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:
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");"
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");

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum