WebRTC sample for media demo crashing when building on windows 7

76 views
Skip to first unread message

shyam sundar kulkarni

unread,
Feb 18, 2014, 3:07:43 PM2/18/14
to discuss...@googlegroups.com
Hello All,

I was searching for android samples which had only media transmission and found out this relevant.

**What steps will reproduce the problem?**  
2. take videoengine sample from
3. Club all these in an Android application project on windows 7, build it will get Webrtcdemo.apk

**What is the expected result?**  
App should launch perfectly.

**What do you see instead?**  
App crashes at the startup stating "**Unfortunately WebRTC Engine Demo has stopped**"

**What version of the product are you using? On what operating system?**  
- OS: Windows 7, 64 Bit  
- Eclipse (adt-bundle)  
- ADT (adt-bundle-windows-x86_64-20131030)  

**Please provide any additional information below.**  
logCat Error Messages:

LogTag:AndroidRuntime  
Application Name:org.webrtc.webrtcdemo  

    FATAL EXCEPTION: main
    Process: org.webrtc.webrtcdemo, PID: 19322
    java.lang.UnsatisfiedLinkError: Couldn't load webrtcdemo-jni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.webrtc.webrtcdemo-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.webrtc.webrtcdemo-1, /vendor/lib, /system/lib]]]: findLibrary returned null
    at java.lang.Runtime.loadLibrary(Runtime.java:358)
    at java.lang.System.loadLibrary(System.java:526)
    at org.webrtc.webrtcdemo.NativeWebRtcContextRegistry.<clinit>(NativeWebRtcContextRegistry.java:17)
at org.webrtc.webrtcdemo.WebRTCDemo.onCreate(WebRTCDemo.java:91)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
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)

Reply all
Reply to author
Forward
0 new messages