Wowza Community

Android (ver1.0.2 build 357) SDK Error

http://www.wowza.com/resources/gocodersdk/docs/1.0/54f8721827aeb3bebffcca5e3b1a0d43/

I installed the aar of Android (ver1.0.2 build 357) and the following error occurred.

Please let me know how to deal with it.

E/AndroidRuntime: FATAL EXCEPTION: main <br>Process: com.sample, PID: 15211
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.sample-1/base.apk", zip file "/data/app/com.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_0_apk.apk", zip file "/data/com.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.sample-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.sample-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libwzcommon.so"
    at java.lang.Runtime.loadLibrary(Runtime.java:366)
    at java.lang.System.loadLibrary(System.java:988)
    at com.wowza.gocoder.sdk.support.a.<clinit>(GoCoderSDK:45)
    at com.wowza.gocoder.sdk.support.a.a(GoCoderSDK:64)
    at com.wowza.gocoder.sdk.support.a.a.a(GoCoderSDK:39)
    at com.wowza.gocoder.sdk.api.WowzaGoCoder.init(GoCoderSDK:167)
    at com.sample.CameraActivity.initGoCoder(CameraActivity.kt:294)
    at com.sample.CameraActivity.onCreate(CameraActivity.kt:110)
    at android.app.Activity.performCreate(Activity.java:6034)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2332)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)
    at android.app.ActivityThread.access$800(ActivityThread.java:156)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:211)
    at android.app.ActivityThread.main(ActivityThread.java:5373)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)

https://stackoverflow.com/questions/27186726/java-lang-unsatisfiedlinkerror-dalvik-system-pathclassloader

The error could be resolved by adding the following to gradle.

ndk {

abiFilters ‘x86’, ‘armeabi’, ‘armeabi-v7a’

}

The error occurred only in the processor of arm64-v8a in the processor, but the latest GoCoder aar had some modifications to arm64-v8a?

Since the above problem did not occur with the old version of aar, I would like to know the changes.

Hi,

There is a known issue with this release of the Android SDK that has been addressed in a new release. Please send in a support ticket so that I can provide you with the beta release that includes the fix.

Michelle

Same issue is present in (v1.8.0 0463), any updates?

Hello @Alexander Fastovets

Are you able to replicate this error with only the Android GoCoder SDK sample app located here?:

https://www.wowza.com/pricing/installer#gocodersdk-downloads

If not, please double check your aar libraries from your app matches the sample app.

Regards,

JasonT