owt-client-native
owt-client-native copied to clipboard
Build android sdk failed
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
Please check whether there is error happened during gclient sync. It looks like some files are missing.
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
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'