Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android AOSP构建错误_Android_Makefile_Android Source - Fatal编程技术网

Android AOSP构建错误

Android AOSP构建错误,android,makefile,android-source,Android,Makefile,Android Source,我试图在linux16.04lts机器上编译androido-code,但我面临一些问题。我陷入了以下错误: [ 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 -X

我试图在
linux16.04lts
机器上编译
androido-code
,但我面临一些问题。我陷入了以下错误:

[ 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
但问题依然存在。有人能帮忙解决这个问题吗?

Ubuntu>=14.04:

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip
Ubuntu>=14.04:

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip

你修好了吗?你修好了吗?