1.是权限问题 使用 chmod -R 777 file 改变 权限 ,继续 sudo make
# cp /home/Android-2.3/system/media/opensles/libopensles/OpenSLESUT.h /home/Android-2.3/system/media/opensles/include/SLES/OpenSLESUT.h
3.
target SharedLib: libwebcore (out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so)
out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a(CSSParser.o): In function `WebCore::CSSParser::lex(void*)':
/media/master/external/webkit/WebCore/css/CSSParser.cpp:4533: undefined reference to `WebCore::CSSParser::lex()'
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] 错误 1
解决方法:touch external/webkit/WebCore/css/tokenizer.flex
然后再make
用touch还是同样的错误
则到external/webkit/WebCore/css/目录下找到了这个文件tokenizer.flex
把他的权限改为可执行就好了
4
Checking build tools versions... build/core/main.mk:76:************************************************************ build/core/main.mk:77: You are attemptingto build on a 32-bit system. build/core/main.mk:78: Only 64-bit buildenvironments are supported beyond froyo/2.2. build/core/main.mk:79:************************************************************ build/core/main.mk:80: *** stop。停止。 分析及解决: http://archive.cnblogs.com/a/1909930/ http://www.cnblogs.com/fantaisie/archive/2010/12/24/1916281.html build/core/main.mk ifeq ($(BUILD_OS),linux)
(--- means delete that line, +++ meansadd that line)
and change the code infour mk files below from “+=-m64”to “+=-m32”
external/clearsilver/cgi/Android.mk LOCAL_CFLAGS += -m32 |
最后 得到结果是
ibnfc_jni.so)
target Non-prelinked: libplatform_library_jni (out/target/product/generic/symbols/system/lib/libplatform_library_jni.so)
target Non-prelinked: libs3cjpeg (out/target/product/generic/symbols/system/lib/libs3cjpeg.so)
target Non-prelinked: libsampleplugin (out/target/product/generic/symbols/system/lib/libsampleplugin.so)
target Non-prelinked: libsimplejni (out/target/product/generic/symbols/system/lib/libsimplejni.so)
target Non-prelinked: libtestplugin (out/target/product/generic/symbols/system/lib/libtestplugin.so)
target Non-prelinked: libwnndict (out/target/product/generic/symbols/system/lib/libwnndict.so)
target Non-prelinked: lights.mahimahi (out/target/product/generic/symbols/system/lib/hw/lights.mahimahi.so)
target Non-prelinked: sensors.herring (out/target/product/generic/symbols/system/lib/hw/sensors.herring.so)
target Non-prelinked: sensors.mahimahi (out/target/product/generic/symbols/system/lib/hw/sensors.mahimahi.so)
Install system fs image: out/target/product/generic/system.img
Installed file list: out/target/product/generic/installed-files.txt
联系客服