i already copy the arm64-v8a libNativeBuffers.so filke into internal lib folder,but still facing same error.
my code:
error code:
how can i fix it?
my code:
B4X:
F5S.ExtractToArray(File.DirInternal & "/icon.png", "Icon")
Sub Icon_ArrayExtracted(SecretMessage() As Byte)
Dim SB As StringBuilder
SB.Initialize
For i = 0 To SecretMessage.Length - 1
SB.Append(SecretMessage(i)).Append(" ")
Next
Dim PlainText As String = BytesToString(SecretMessage, 0, SecretMessage.Length, "UTF-8")
#IF DEBUG
Log(PlainText)
#End If
End Sub
error code:
B4X:
--------- beginning of main
Copying updated assets files (40)
*** Service (starter) Create ***
starter start
Device locale: en
Found 215 strings.
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.b4a.test-cloVDDU3mtVB997e_AxtoQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.com.b4a.test-cloVDDU3mtVB997e_AxtoQ==/lib/arm64, /data/app/com.b4a.test-cloVDDU3mtVB997e_AxtoQ==/base.apk!/lib/arm64-v8a, /system/lib64]]] couldn't find "libNativeBuffers.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at b4a.flm.buffers.NativeBuffers.<clinit>(SourceFile:9)
at a.a.a.b.a(SourceFile:197)
at a.a.a.b.<init>(SourceFile:38)
at a.a.a.b.<init>(SourceFile:28)
at b4a.flm.f5steg.F5Steg.ExtractToArray(SourceFile:59)
at com.probitto.my.pmplus.starter._start1(starter.java:1158)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA$2.run(BA.java:370)
at android.os.Handler.handleCallback(Handler.java:874)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
how can i fix it?