My App is crashing when i add the native libraries in jniLibs, (i.e. libjingle_peerconnection_so.so ) for all architectures.
Following is stack trace extract that is causing restart crash of app.
W/System.err(11538): java.lang.ClassNotFoundException: Didn't find class "org.webrtc.DataChannel$Buffer" on path: DexPathList[[zip file "/data/app/com.sample.app-2/base.apk"],nativeLibraryDirectories=[/data/app/com.sample.app-2/lib/x86, /vendor/lib, /system/lib]]
Can anyone tell me what I am doing wrong here.?
I finally figured out the solution, Proguard was interfering with my webrtc files. Added keep-files in proguard settings.