[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Crash on launch Android
From: |
Matt Cornish |
Subject: |
[Linphone-developers] Crash on launch Android |
Date: |
Fri, 30 Nov 2018 22:06:21 +1300 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hi Guys,
I’ve pulled the latest linphone-android source but It’s crashing on
launch. I’ve had no issues building much older versions but I’ve
recently updated my build environment and wanted to give the lasted
build a go but now I’m stuck.
So it complies fine, then I run make install to run on emulator I get:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':installDebug'.
> com.android.builder.testing.api.DeviceException:
com.android.ddmlib.InstallException: INSTALL_FAILED_NO_MATCHING_ABIS:
Failed to extract native libraries, res=-113
So I then added this to build.grade:
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a'
universalApk true
}
}
Then make again and make install runs fine but App crashes on launch:
> Task :installDebug
Installing APK 'linphone-android-x86-debug.apk' on 'Pixel_2_API_28(AVD)
- 9' for linphone-android:debug
Installed on 1 device.
BUILD SUCCESSFUL in 1s
Logs:
2018-11-30 21:32:16.415 30268-30268/? E/AndroidRuntime: FATAL EXCEPTION:
main
Process: org.linphone, PID: 30268
java.lang.UnsatisfiedLinkError:
dalvik.system.PathClassLoader[DexPathList[[zip file
"/data/app/org.linphone-ejlV1LDQzmmfodV89-7grw==/base.apk"],nativeLibraryDirectories=[/data/app/org.linphone-ejlV1LDQzmmfodV89-7grw==/lib/x86,
/system/lib]]] couldn't find "libc++_shared.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at org.linphone.core.FactoryImpl.<clinit>(Factory.java:270)
at org.linphone.core.Factory.instance(Factory.java:44)
at org.linphone.LinphoneService.onCreate(LinphoneService.java:460)
at
android.app.ActivityThread.handleCreateService(ActivityThread.java:3532)
at android.app.ActivityThread.access$1300(ActivityThread.java:199)
at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
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)
Missing libc++_shared.so? Is this an NDK issue or is it just related to
the first change? I'm using NDK r18b anyone seen this before? Appreciate
it if anyone has any ideas
Cheers,
Matt
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Crash on launch Android,
Matt Cornish <=