Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 4.4 arr Error #56

Closed
adminmastor opened this issue Sep 14, 2020 · 5 comments
Closed

Android 4.4 arr Error #56

adminmastor opened this issue Sep 14, 2020 · 5 comments

Comments

@adminmastor
Copy link

09-14 14:14:26.626 10004-10004/com.dnake.desktop E/dalvikvm: dlopen("/data/app-lib/com.dnake.desktop-2/libbctoolbox.so") failed: dlopen failed: cannot locate symbol "__read_chk" referenced by "libbctoolbox.so"...
09-14 14:14:26.626 10004-10004/com.dnake.desktop E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dnake.desktop, PID: 10004
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__read_chk" referenced by "libbctoolbox.so"...
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:526)
at org.linphone.core.FactoryImpl.(Factory.java:534)
at org.linphone.core.Factory.instance(Factory.java:47)
at com.dnake.utils.LinphoneContext.(LinphoneContext.java:84)
at com.dnake.desktop.SysService.onCreate(SysService.java:53)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2572)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
09-14 14:14:26.956 580-647/system_process E/InputDispatcher: channel '41e17328 com.dnake.desktop/com.dnake.desktop.PhoneMainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

@Viish
Copy link
Member

Viish commented Sep 14, 2020

Hi,
What version of the SDK are you using? What NDK did you use to build it?
Cheers,

@adminmastor
Copy link
Author

Android-Sdk 28 NDK 21

@Viish
Copy link
Member

Viish commented Sep 14, 2020

That's why. To be able to build an AAR for 4.4 you must use NDK 17c or older.
Also note you can't build our SDK version 4.5.0-alpha which is only compatible to Android 6 or newer, you must stay on release 4.4.

@adminmastor
Copy link
Author

HI
If I want to run linphone on Android 4.4, how to build it?

@adminmastor
Copy link
Author

liphone release 4.4 How to build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants