--
---
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/f82658e6-f935-47e3-9803-217b24aa08a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
echo "Compiling arm release"
gn gen out/arm --args='target_os="android" target_cpu="arm" is_debug=false'
ninja -C out/arm
I'm not sure if this flag is supported properly for Android builds. When I tried thisvagrant@precise64:/vagrant/webrtc/src$ gn gen out/Default --args='target_os="android" target_cpu="arm" is_debug=false'All I got was:ERROR at //build/config/compiler/compiler.gni:105:1: Assertion failed.assert(ignore_elf32_limitations || !is_android || android_64bit_target_cpu ||^-----Android 32-bit non-component, non-clang builds cannot have symbol_level=2 due to 4GiB file size limit, see https://crbug.com/648948See //build/toolchain/concurrent_links.gni:10:1: whence it was imported.import("//build/config/compiler/compiler.gni")^--------------------------------------------See //build/toolchain/BUILD.gn:5:1: whence it was imported.import("//build/toolchain/concurrent_links.gni")^----------------------------------------------See //build/toolchain/gcc_toolchain.gni:296:5: which caused the file to be included.tool("solink") {^---------------
пятница, 7 октября 2016 г., 18:04:48 UTC+3 пользователь Andrey Grusha написал:Hey everyone!I am android developer and for my webrtc-based app I usually needed just two file dependencies: libjingle_peerconnection.jar and libjingle_peerconnection_so.so. Recently I decided to update my webrtc dependencies and found out that old good libjingle_peerconnection libraries are not enough anymore, as my application started to crash with messages like:Process: xxx, PID: 26181java.lang.UnsatisfiedLinkError: dlopen failed: library "libprotobuf_lite.cr.so" not foundat java.lang.Runtime.loadLibrary0(Runtime.java:977)at java.lang.System.loadLibrary(System.java:1530)at org.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:21)at org.webrtc.PeerConnectionFactory.initializeAndroidGlobals(Native Method)Process: xxx, PID: 30677java.lang.UnsatisfiedLinkError: dlopen failed: library "libboringssl.cr.so" not foundat java.lang.Runtime.loadLibrary0(Runtime.java:977)at java.lang.System.loadLibrary(System.java:1530)at org.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:21)at org.webrtc.PeerConnectionFactory.initializeAndroidGlobals(Native Method)Process: xxx, PID: 31461java.lang.NoClassDefFoundError: Failed resolution of: Lorg/webrtc/Logging;at org.webrtc.EglBase14.isEGL14Supported(EglBase14.java:40)at org.webrtc.EglBase.create(EglBase.java:86)at org.webrtc.EglBase.create(EglBase.java:93)and so on...Could anyone share entire list of dependencies that I should provide nowadays to my Android app to work properly?
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/40d65d59-9cb8-47ba-834c-4f2eaa3bbf8d%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
On Wed, Oct 19, 2016 at 3:19 PM, Andrey Grusha <andrew...@gmail.com> wrote:I'm not sure if this flag is supported properly for Android builds. When I tried thisvagrant@precise64:/vagrant/webrtc/src$ gn gen out/Default --args='target_os="android" target_cpu="arm" is_debug=false'All I got was:ERROR at //build/config/compiler/compiler.gni:105:1: Assertion failed.assert(ignore_elf32_limitations || !is_android || android_64bit_target_cpu ||^-----Android 32-bit non-component, non-clang builds cannot have symbol_level=2 due to 4GiB file size limit, see https://crbug.com/648948See //build/toolchain/concurrent_links.gni:10:1: whence it was imported.import("//build/config/compiler/compiler.gni")^--------------------------------------------See //build/toolchain/BUILD.gn:5:1: whence it was imported.import("//build/toolchain/concurrent_links.gni")^----------------------------------------------See //build/toolchain/gcc_toolchain.gni:296:5: which caused the file to be included.tool("solink") {^---------------As the error message says, you'll have to pass symbol_level=1 for Android 32 bit builds these days. The message is pretty clear.To be sure what works, you can always check the generate_build_files steps at builds for our bots at https://build.chromium.org/p/client.webrtc/waterfall
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
在 2016年10月20日星期四 UTC+8下午8:40:06,Henrik Kjellander写道:On Wed, Oct 19, 2016 at 3:19 PM, Andrey Grusha <andrew...@gmail.com> wrote:I'm not sure if this flag is supported properly for Android builds. When I tried thisvagrant@precise64:/vagrant/webrtc/src$ gn gen out/Default --args='target_os="android" target_cpu="arm" is_debug=false'All I got was:ERROR at //build/config/compiler/compiler.gni:105:1: Assertion failed.assert(ignore_elf32_limitations || !is_android || android_64bit_target_cpu ||^-----Android 32-bit non-component, non-clang builds cannot have symbol_level=2 due to 4GiB file size limit, see https://crbug.com/648948See //build/toolchain/concurrent_links.gni:10:1: whence it was imported.import("//build/config/compiler/compiler.gni")^--------------------------------------------See //build/toolchain/BUILD.gn:5:1: whence it was imported.import("//build/toolchain/concurrent_links.gni")^----------------------------------------------See //build/toolchain/gcc_toolchain.gni:296:5: which caused the file to be included.tool("solink") {^---------------As the error message says, you'll have to pass symbol_level=1 for Android 32 bit builds these days. The message is pretty clear.To be sure what works, you can always check the generate_build_files steps at builds for our bots at https://build.chromium.org/p/client.webrtc/waterfalli have tried that, still does not work.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/9565793c-2be3-4e61-9a55-a3e8c513c0e3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/2ec14288-9352-44af-b692-e5d0ec593b11%40googlegroups.com.