Android make sdk error Solution

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.