问题1:
ninja -C out/m101_debug
Traceback (most recent call last):
File "/home/test/webrtc/depot_tools/ninja.py", line 35, in <module>
def parse_args(ninja_args: list[str]):
TypeError: 'type' object is not subscriptable
解决办法:
sudo apt install -y ninja-build
ninja -C out/m101_debug
Traceback (most recent call last):
File "/home/test/webrtc/depot_tools/ninja.py", line 35, in <module>
def parse_args(ninja_args: list[str]):
TypeError: 'type' object is not subscriptable
解决办法:
升级python到3.9
sudo apt update sudo apt install -y software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update
sudo apt install -y python3.9 python3.9-dev python3.9-distutils