owt-client-native icon indicating copy to clipboard operation
owt-client-native copied to clipboard

Build android sdk failed

Open yjfxfjch opened this issue 5 years ago • 3 comments

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

yjfxfjch avatar Mar 20 '20 08:03 yjfxfjch

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

jianjunz avatar Apr 30 '20 16:04 jianjunz

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

haska1025 avatar Nov 24 '20 07:11 haska1025

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'

xsshawn avatar Feb 21 '23 03:02 xsshawn