开发者

Error while building Android V2.2[Froyo] Source Code

I'm getting the following error while building the Froyo Code -

No private recovery resources for TARGET_DEVICE passion
target Generated: libclearsilver-jni <=  out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar
target Generated: libclearsilver-jni <=     out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar
host C: libneo_util <= external/clearsilver/util/neo_hash.c
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
/bin/bash: javah: command not found
/bin/bash: javah: command not found
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libclearsilver-    jni_intermediates/org_clearsilver_CS.h] Error 127
make: *** Waiting for unfinished jobs....
make: *** [out/h开发者_Python百科ost/linux-x86/obj/SHARED_LIBRARIES/libclearsilver-    jni_intermediates/org_clearsilver_HDF.h] Error 127
true

Please help me to find out the root cause for this build error.


This is probably a PATH issue. For me I had to do

export PATH=$PATH:/usr/java/jdk1.6.0_25/bin/

To make it work properly.


$ uname -m x86_64 depending upon x86_64 or XXX32 modified the following files to use m64 for x86_64 and m32 for xxx32 in android directory

   /external/clearsilver/cgi/Android.mk
   /external/clearsilver/java-jni/Android.mk
   /external/clearsilver/util/Android.mk
   /external/clearsilver/cs/Android.mk

Edit the above mentioned files using vi or vim editor. type LOCAL_CFLAGS += -m64 LOCAL_LDFLAGS += -m64

command in the files below the line "LOCAL_CFLAGS := "

NOTE: If your system is x86_64 download JDK_1.5_update_xx_amd64.bin


Javah is a part of the JDK. Download and install one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜