1
我試圖在Linux 16.04 LTS
機器上編譯Android O code
,但我遇到了一些問題。我卡上看到以下錯誤:AOSP構建錯誤
[ 89% 55834/62176] Compiling SDK Stubs:
out/target/comm.../android_system_stubs_current_intermediates/classes.jar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 89% 55835/62176] Compiling SDK Stubs: out/target/comm...BRARIES/android_stubs_current_intermediates/classes.jar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
20:33:13 ninja failed with: exit status 1 build/core/main.mk:21: recipe for target 'run_soong_ui' failed make: ***
[run_soong_ui] Error 1
我嘗試安裝以下庫:
$ sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
但問題仍然相同。任何人都可以幫忙解決這個問題嗎?
你解決這個問題? – GPS