An error message during compilation contains the following content:
Usr/share/pc-bios/bios. bin ............Tools/lib/pc-bios/bios. bin
Usr/share/pc-bios/vgabios-cirrus.bin ............Tools/lib/pc-bios/vgabios-cirrus.bin
The description is in the path :~ /Android_Src/out/host/linux-x86/usr/share can not find the pc-bios folder, not in the local system directory/usr/share ...... The folder cannot be found. This directory does not exist in the local system.
Solution:
Copy :~ /Android_Src/prebuilt/common under the pc-bios folder to the following directory :~ /Android_Src/out/host/linux-x86/usr/share can be solved, the command line input:
$ Cp ~ /Android_Src/prebuilt/common/pc-bios ~ /Android_Src/out/host/linux-x86/usr/share (test failed)
$ Cp ~ /Android_Src/prebuilt/common/pc-bios ~ /Android_Src/usr/share (test OK)
The following prompt appears during compilation:
........................
Docs droiddoc: out/target/common/docs/online-sdk
HtmlDir not a directory: out/target/common/docs/gen
DroidDoc took 105 sec. to write docs to out/target/common/docs/online-sdk
Package SDK: out/host/linux-x86/sdk/android-sdk_eng.neo_linux-x86.zip
Sdk/build/tools. atree: 134: couldn't locate source file:Framework/ddmlib-tests.jar
Sdk/build/tools. atree: 135: couldn't locate source file:Framework/ninepatch-tests.jar
Sdk/build/tools. atree: 136: couldn't locate source file:Framework/common-tests.jar
Sdk/build/tools. atree: 138: couldn't locate source file:Framework/sdkuilib-tests.jar
Make: *** [out/host/linux-x86/sdk/android-sdk_eng.root_linux-x86.zip] Error 44
Probably, it cannot be found in the framework directory.Ddmlib-tests.jar ninepath-tests.jar common-tests.jar sdkuilib-tests.jarOne thing to note about these files is that the framework directory here refers:~ /Android_Src/out/host/linux-x86/frameworkIn this directory, you can find the following filesCommon. jar ddmlib. jar ninepatch. jar sdkuilib. jarAnd then copy and rename them separately. The naming principle is simple, that is, keep up with the original name-TestsYou can.
Next, continue to compile. If there are no other errors, the command line prompts the following:
Docs droiddoc: out/target/common/docs/online-sdk
HtmlDir not a directory: out/target/common/docs/gen
DroidDoc took 90 sec. to write docs to out/target/common/docs/online-sdk
Package SDK: out/host/linux-x86/sdk/android-sdk_eng.neo_linux-x86.zip
Xxx @ xxx :~ /Android_Src $
This indicates that the sdk compilation has been completed.