-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Demo App #39
Comments
If you're using gradle, you need to make sure you add this to your config:
The native example application is configured so that you should be able to import and build the project straight away, as long as openwebrtc and openwebrtc-examples are in the same folder.
|
Thanks, Here is the error I get when I try to run the test Native app: E/AndroidRuntime( 4237): FATAL EXCEPTION: main |
Could you try the same in Android Studio? The build hasn't been verified with Eclipse, since Android Studio is the official IDE. |
Hello team, First of all thanks a lot for all the hard work and time spent on this project. Would it be possible to provide an already built openwebrtc.jar within https://github.com/EricssonResearch/openwebrtc-examples/tree/master/android/Native/app/libs? Then is upto the developer to build the entire openwebrtc framework and/or just build the standalone app. Thanks a lot in advance, José |
Hi José, We plan to have better handling of releases and are looking in to providing builds, but for now you will need to build the project yourself. |
@stefanalund thanks for the reply, looking forward for those updates then. Please keep me posted! |
Hello all, I've managed to build openwebrtc framework for andoird via cerbero with great support from stefan. Thanks stefan! Now I'm trying to test NativeCall app in this example project. I copied openwebrtc.jar to NativeCall and built out an apk successfuly(with Android Studio 1.0). The problem is I can not run the apk. I got following error: 02-05 02:36:03.175 1222-1222/com.ericsson.research.owr.examples.nativecall E/AndroidRuntime﹕ FATAL EXCEPTION: main From the error message, it seems that four native so libs are not found. I tried two methods:
ls -l /data/app/com.ericsson.research.owr.examples.nativecall-2/lib/arm-rwxr-xr-x system system 172184 2015-02-05 00:50 libgstapp-1.0.so.0 But none of the solution works, I still got the same error message. Besides, I observed that there are two libs already included in openwebrtc.jar(libopenwebrtc.so and libopenwebrtc_jni.so). I wonder whether this is the framework building issue(say, all the necessary libs should be in openwebrtc.jar), or it's the wrong way for me to use native libs. Thanks in advance. |
@leonhust Unfortunately the cerbero build for Android is broken atm, afaik @nirbheek is looking into it, but you'll have to use the build scripts for now. I've opened an issue about it to make it more visible: EricssonResearch/openwebrtc#161 |
Thanks for you information. I've tried build script before and it does not work for me at that time and I filed EricssonResearch/openwebrtc#158. |
the build script still not work for me:( |
Share anyone share openwebrtc.jar to me so I can start android app developing? |
I am trying to use Android Native app. Some questions:
The text was updated successfully, but these errors were encountered: