Unable to Build webrtc library for Android

322 views
Skip to first unread message

Phil

unread,
May 31, 2019, 10:23:50 AM5/31/19
to discuss-webrtc
Hi,

I build latest webrtc source library for android. And it generates lots of jar file. In previous version i have used only three jars (audio_device_java.jar, base_java.jar and libjingle_peerconnection_java.jar). But now compiling m73 version I'm getting lot of jar (attached image). Is it possible merge all jar to single jar.
Screen Shot 2019-05-31 at 7.44.45 PM.png

Please any one help

Regards,
Phil.

Phong Thai Cao

unread,
May 31, 2019, 10:30:20 AM5/31/19
to discuss...@googlegroups.com
I used libwebrtc.jar and it's working fine for me.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/c8a2aad1-66d5-4bf5-a7e5-1d33a7088227%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Phil

unread,
Jun 3, 2019, 3:15:45 AM6/3/19
to discuss-webrtc
It is working. Thank  a Lot  Phong. 

Phil


On Friday, May 31, 2019 at 8:00:20 PM UTC+5:30, Phong Cao wrote:
I used libwebrtc.jar and it's working fine for me.

On Fri, May 31, 2019 at 10:23 AM Phil <ayyapp...@gmail.com> wrote:
Hi,

I build latest webrtc source library for android. And it generates lots of jar file. In previous version i have used only three jars (audio_device_java.jar, base_java.jar and libjingle_peerconnection_java.jar). But now compiling m73 version I'm getting lot of jar (attached image). Is it possible merge all jar to single jar.
Screen Shot 2019-05-31 at 7.44.45 PM.png

Please any one help

Regards,
Phil.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss...@googlegroups.com.

Jan Kaláb

unread,
Jun 5, 2019, 10:55:30 AM6/5/19
to discuss-webrtc
There is also a script to build aar. See tools_webrtc/android/build_aar.py

Dne pátek 31. května 2019 16:23:50 UTC+2 Phil napsal(a):

Muhammad Usman Bashir

unread,
Apr 17, 2020, 3:30:18 PM4/17/20
to discuss-webrtc

Hello,

I hope you’re doing well. I am trying to compile WebRTC Library for Android. I am facing this issue and couldn’t find any help on internet.

ERROR at //BUILD.gn:648:20: Assignment had no effect.

java_files = [

^

You set the variable "java_files" here and it was unused before it went

out of scope.

See //BUILD.gn:647:5: whence it was called.

junit_binary("android_junit_tests") {

^------------------------------------

I am using Linux OS: Ubuntu, and WebRTC Git Branch-M79. Can you please assist me in this matter?

Thanks

Reply all
Reply to author
Forward
0 new messages