open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
397 stars 183 forks source link

Build android sdk failed #311

Open yjfxfjch opened 4 years ago

yjfxfjch commented 4 years ago

master and 4.2.x branch have the same problem. root@ubuntu:~/src/src# ./scripts/build_android.py

args: Namespace(debug=False, output_path='/root/src/src/out', target_arch='arm,arm64,x86')

generating args for arm release ERROR at //build/config/android/internal_rules.gni:172:23: Can't load input file. deps += [ "$_target_label$build_config_target_suffix" ] ^------------------------------------------ Unable to load: /root/src/src/modules/audio_device/BUILD.gn I also checked in the secondary tree for: /root/src/src/build/secondary/modules/audio_device/BUILD.gn

jianjunz commented 4 years ago

Please check whether there is error happened during gclient sync. It looks like some files are missing.

haska1025 commented 4 years ago

I have meet the same problem when i build the 4.3.x android branch.

And no error has happened during gclient sync.

ERROR at //build/config/android/internal_rules.gni:172:23: Can't load input file. deps += [ "$_target_label$build_config_target_suffix" ] ^------------------------------------------ Unable to load: /home/haska1025/webrtc-android-mobile/src/modules/audio_device/BUILD.gn I also checked in the secondary tree for: /home/haska1025/webrtc-android-mobile/src/build/secondary/modules/audio_device/BUILD.gn

xsshawn commented 1 year ago

1.According to the official describe '4.3.x does not support Android build, please switch to 4.2.x branch' 2.When You use 4.2.x android branch, if do 'gclient sync', it will get code from master branch. You can try using 'gclient sync --revision v4.2' instead of 'gclient sync'