我成功下載了Android 4.0.3的源代碼。 但我無法在我的機器上編譯它。Android ICS編譯問題
我的機器配置是UBUNTU 11.10 64位,4 GB RAM
當我運行午飯命令得到下面的錯誤。
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
build/core/config.mk:268: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.
** Don't have a product spec for: 'full'
** Do you have the right repo manifest?
JDK已經處於path.When我運行命令Java的版本我得到以下輸出
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
誰能幫助進行呢?
感謝您的回答。 – 2012-12-03 11:36:55
在osx上是這樣的:'export ANDROID_JAVA_HOME = $(/ usr/libexec/java_home -v 1.7)' – JohnnyLambada 2015-11-25 01:36:47