Wowza Community

UnsatisfiedLinkError after importing goCoder aar library which contains some .so file

I tried to add some new feature to my app, so i imported goCoder aar library which contains a.so file.

But after importing, my app crashed everytime because of java.lang.UnsatisfiedLinkError. All the native libs can’t be found in my app’s lib dir(/app/lib/armeabi-v7a).

if i don’t import the aar lib, every thing is fine. What should i do to make it right? Thanks.

build.gradle:

android {<br>    ....<br>    sourceSets {<br>        main {<br>            jniLibs.srcDirs = ['libs']<br>        }<br>    }<br>}<br><br>repositories {<br>    flatDir {<br>        dirs 'libs'}<br>}<br><br>dependencies {<br>    compile fileTree(dir: 'libs', include: ['*.jar'])<br>    compile( name: 'com.wowza.gocoder.sdk', ext: 'aar' )<br>    compile 'com.android.support:appcompat-v7:25.3.1'testCompile 'junit:junit:4.12'} 

Hi Yukimura,

This looks to be a problem with the SDK release that you have. Do send in a ticket and I can send you a link to a beta release that should address this issue.

Michelle