make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/with-local/classes.dex] 错误 41

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhouwengong/article/details/82224200

Ubuntu下编译Android源码时报错

target thumb C++: libv8 <= out/target/product/generic/obj/STATIC_LIBRARIES/libv8_intermediates/experimental-libraries.cc
target thumb C++: libv8 <= out/target/product/generic/obj/STATIC_LIBRARIES/libv8_intermediates/snapshot_arm.cc
RenderScript: PhaseBeam <= packages/wallpapers/PhaseBeam/src/com/android/phasebeam/phasebeam.rs
Building with Jack: out/target/common/obj/APPS/QuickSearchBox_intermediates/with-local/classes.dex
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics-mr1_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes-jarjar.jar
Launching background server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar out/host/linux-x86/framework/jack-launcher.jar -cp out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer
RenderScript: libstagefright_mediafilter <= frameworks/av/media/libstagefright/filters/saturationARGB.rs
target Pack Relocations: libstdc++ (out/target/product/generic/obj/SHARED_LIBRARIES/libstdc++_intermediates/PACKED/libstdc++.so)
INFO: Compaction                 : 0 bytes
INFO: Too few relocations to pack after alignment
Error while parsing '/home/zhouwengong/文档/mydroid/out/target/common/obj/APPS/QuickSearchBox_intermediates/with-local/classes.dex.flags':1
Try --help for help.
make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/with-local/classes.dex] 错误 41
make: *** 正在等待未完成的任务....
target Pack Relocations: libc_malloc_debug_leak (out/target/product/generic/obj/SHARED_LIBRARIES/libc_malloc_debug_leak_intermediates/PACKED/libc_malloc_debug_leak.so)
INFO: Compaction                 : 0 bytes
INFO: Too few relocations to pack after alignment
target Pack Relocations: libc_malloc_debug_qemu (out/target/product/generic/obj/SHARED_LIBRARIES/libc_malloc_debug_qemu_intermediates/PACKED/libc_malloc_debug_qemu.so)
INFO: Compaction                 : 0 bytes
INFO: Too few relocations to pack after alignment

其中的QuickSearchBox可能是别的控件,出现这个问题的原因是因为你的源码路径有中文字符,哈哈哈哈

猜你喜欢

转载自blog.csdn.net/zhouwengong/article/details/82224200