我在ubuntu 18.04上使用openjdk版本“ 1.8.0_212”构建AOSP(android-7.1.2_r36,aosp_x86_64-eng),但是它始终失败,并出现相同的错误。
我的计算机具有32G内存,所以我不认为它由于内存不足而失败。
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java:18: The import java.beans.IntrospectionException cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java:50: The method getProperties(Class<? extends Object>) from the type Representer refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java:51: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java:245: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java:246: The method getProperties(Class<? extends Object>) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java:18: The import java.beans.IntrospectionException cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java:241: The method getProperty(Class<? extends Object>, String) from the type Constructor.ConstructMapping refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java:322: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java:323: The method getProperty(Class<? extends Object>, String) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java:18: The import java.beans.IntrospectionException cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java:78: The method getProperty(Class<? extends Object>, String) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java:204: The method getProperty(Class<? extends Object>, String) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java:205: The method getSequencePropertyName(Class<?>) from the type CompactConstructor refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java:218: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java:219: The method getProperties(Class<? extends Object>) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:18: The import java.beans.IntrospectionException cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:19: The import java.beans.Introspector cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:20: The import java.beans.PropertyDescriptor cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:42: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:63: PropertyDescriptor cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:63: Introspector cannot be resolved
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:67: MethodProperty cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:93: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:94: The method getProperties(Class<? extends Object>, BeanAccess) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:98: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:102: The method createPropertySet(Class<? extends Object>, BeanAccess) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:108: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:110: The method getPropertiesMap(Class<?>, BeanAccess) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:120: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:121: The method getProperty(Class<? extends Object>, String, BeanAccess) from the type PropertyUtils refers to the missing type IntrospectionException
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:125: IntrospectionException cannot be resolved to a type
ERROR: /home/duoduo/aosp/out/target/product/generic_x86_64/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java:126: The method getPropertiesMap(Class<?>, BeanAccess) from the type PropertyUtils refers to the missing type IntrospectionException
[ 0% 18/5384] target C++: libdeqp <= external/deqp/framework/opengl/gluCallLogWrapper.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
我希望这座大楼能继续运行而不会出现上述错误。