Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
3 Views

Android native sdk build 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

///////////////////////////////////////////////////////////////////////
 

The newest source code and 4.2.x branch have the same problem.The "[ "$_target_label$build_config_target_suffix" ]" get wrong path.The right path is "third_party/webrtc/modules/.....".How to modify  "//build/config/android/internal_rules.gni"?Thx.

 

Tags (2)
0 Kudos