Android Question MyUART libUART.so

Philip Prins

Active Member
Licensed User
Longtime User
Hello,

I had to reinstall everything on my laptop.

previous installation the UART library worked but now i get the following error:

Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/comm.check.centurion-s9Pduv4ljKJg34Zwf7Ly6Q==/base.apk"],nativeLibraryDirectories=[/data/app/comm.check.centurion-s9Pduv4ljKJg34Zwf7Ly6Q==/lib/arm, /data/app/comm.check.centurion-s9Pduv4ljKJg34Zwf7Ly6Q==/base.apk!/lib/armeabi-v7a, /system/lib, /system/product/lib]]] couldn't find "libUART.so"

Do i need to install other SDK versions or Java version ?

I noticed a thread where they mention to rename a certain folder but no specification which folder.


Regards,
Philip
 

Philip Prins

Active Member
Licensed User
Longtime User
I'm not familiar with this library. As this is a native binary file, it must match the CPU arch of the device. Make sure to test it on the same device that it previously worked with.
Hello Erel,

It worked on the same devices.
I did a complete reinstall of B4A and requirements on the same laptop.

Do I need to install additional SDK with the SDK manager or something else?

I tried downgrade the target SDK to 19 but the result stays the same.

Regards,Philip
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Hello Erel,

It worked on the same devices.
I did a complete reinstall of B4A and requirements on the same laptop.

Do I need to install additional SDK with the SDK manager or something else?

I tried downgrade the target SDK to 19 but the result stays the same.

Regards,Phili
Which UART library are you using?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Do I need to install additional SDK with the SDK manager or something else?
The problem is probably not in the SDK.

The Problem seems to be one of the Libraries you are using. Which library are you using to use the UART?
If it is this one: https://www.b4x.com/android/forum/threads/gpio-and-uart.100811/#content
there is no .so file for your Architecture armeabi-v7a. Only armeabi is provided.

Try the attached jar (replace the original). Don´t know if it works. But worth a try....
 

Attachments

  • UART.jar
    80.5 KB · Views: 16
Last edited:
Upvote 0

Philip Prins

Active Member
Licensed User
Longtime User
The problem is probably not in the SDK.

The Problem seems to be one of the Libraries you are using. Which library are you using to use the UART?
If it is this one: https://www.b4x.com/android/forum/threads/gpio-and-uart.100811/#content
there is no .so file for your Architecture armeabi-v7a. Only armeabi is provided.

Try the attached jar (replace the original). Don´t know if it works. But worth a try....
It is indeed the same library , the same error when replacing the UART.jar unfortunatly
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Yes ,

same problem
Did you use the library which is provided by DonManfred at post #5?
Try this jar, it seems like an v was omitted in libpath
 

Attachments

  • UART.jar
    80.5 KB · Views: 16
Last edited:
Upvote 1
Solution
Top