3
回答
ubuntu中编译SDK时报错
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

我最近一次在编译android Sdk时经常报这个错误:

备注:sdk没问题,我怀疑是环境的问题,但是我重新装了JDK还是一样报错。

ld/tools/merge-event-log-tags.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
host Java: javassist (out/host/common/obj/JAVA_LIBRARIES/javassist_intermediates/classes)
host Java: mockwebserver-hostdex (out/host/common/obj/JAVA_LIBRARIES/mockwebserver-hostdex_intermediates/classes)
host Java: cts-api-coverage (out/host/common/obj/JAVA_LIBRARIES/cts-api-coverage_intermediates/classes)
Note: external/eyes-free/AccessCheck/src/com/android/accessibility/AccessibilityValidationContentHandler.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
host Java: cts-native-xml-generator (out/host/common/obj/JAVA_LIBRARIES/cts-native-xml-generator_intermediates/classes)
host Java: host-libprotobuf-java-2.3.0-lite (out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-lite_intermediates/classes)
host Java: host-libprotobuf-java-2.3.0-micro (out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-micro_intermediates/classes)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002b5f661ab32f, pid=14066, tid=47688818235136
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d332f]
#
# An error report file with more information is saved as:
# /home/mercedes/Workspace/tvd/android4.0/hs_err_pid14066.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
/bin/bash: line 1: 14066 Aborted                 javac -J-Xmx512M -target 1.5 -Xmaxerrs 9999999 -encoding UTF-8 -extdirs "" -d out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-micro_intermediates/classes \@out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-micro_intermediates/classes/java-source-list-uniq
make: *** [out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-micro_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: external/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
mercedes@mercedes-pc:~/Workspace/tvd/android4.0$

 

请高人指点?

举报
lancy_android
发帖于5年前 3回/1K+阅
顶部