Android Source code build error

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Android Source code build error

Postby M_Kazim » Thu Dec 16, 2010 2:01 pm

Dear All,
I am using ubuntu 10.10 that i have installed inside windows 7. I had downloaded android source code. When i try to build it an error comes.

The output is
kazim@ubuntu:~/work/android$ make
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
/bin/bash: build/tools/findleaves.py: Permission denied
/bin/bash: out/target/product/generic/clean_steps.mk: Permission denied
/bin/bash: out/target/product/generic/clean_steps.mk: Permission denied
/bin/bash: out/target/product/generic/previous_build_config.mk: Permission denied
/bin/bash: build/tools/findleaves.py: Permission denied
frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone). Stop.

I have tried to build it from root as well but this error is still same. I have read in some forums that modifying the /build/tools/findleaves.sh can remove this error but this file named findleaves.sh does not exist in my case. Kindly help to solve this problem. I will really appreciate any of your help.
M_Kazim
Freshman
Freshman
 
Posts: 4
Joined: Wed Oct 20, 2010 7:37 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 6 guests