我正在尝试编译android源代码。我收到了这个错误。
libcore/luni/src/main/java/libcore/reflect/AnnotationAccess.java:695:
type parameters of <A>A cannot be determined; no unique maximal instance
exists for type variable A with upper bounds ,java.lang.annotation.Annotation
return AnnotationFactory.createAnnotation(annotationClass, members);
^
host C: libcrypto_static <= external/openssl/crypto/asn1/x_req.c
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
host C: libcrypto_static <= external/openssl/crypto/asn1/x_sig.c
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates
/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
我做了source build / envsetup.sh 然后用午餐aosp_arm-eng,然后最后制作-j4。 任何人都可以建议我做错了什么。