[zzz@localhost android-src]$ make -j4...Note: Recompile with -Xlint:unchecked for details.[ 2% 49/1736] target Java: icu4j (out...LIBRARIES/icu4j_intermediates/classes)Note: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/Relation.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.[ 5% 88/1736] Docs droiddoc: out/target/common/docs/api-stubsDroidDoc took 85 sec. to write docs to out/target/common/docs/api-stubs[ 5% 90/1736] Docs droiddoc: out/target/common/docs/system-api-stubsDroidDoc took 83 sec. to write docs to out/target/common/docs/system-api-stubs[ 5% 92/1736] Checking API: checkpublicapi-currentFAILED: /bin/bash -c "(true) && ( out/host/linux-x86/bin/apicheck -JXmx1024m -J\"classpath /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.1.el7_1.x86_64/bin/../lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar\" -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 -error 26 -error 27 frameworks/base/api/current.txt out/target/common/obj/PACKAGING/public_api.txt frameworks/base/api/removed.txt out/target/common/obj/PACKAGING/removed.txt || ( cat build/core/apicheck_msg_current.txt ; exit 38 ) ) && (mkdir -p out/target/common/obj/PACKAGING/) && (touch out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp)"out/target/common/obj/PACKAGING/public_api.txt:23087: error 3: Added class IExampleService to package android.osout/target/common/obj/PACKAGING/public_api.txt:23092: error 3: Added class IExampleService.Stub to package android.os******************************You have tried to change the API from what has been previously approved.To make these errors go away, you have two choices: 1) You can add "@hide" javadoc comments to the methods, etc. listed in the errors above. 2) You can update current.txt by executing the following command: make update-api To submit the revised current.txt to the main Android repository, you will need approval.******************************[ 5% 92/1736] Checking API: checksystemapi-currentFAILED: /bin/bash -c "(true) && ( out/host/linux-x86/bin/apicheck -JXmx1024m -J\"classpath /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.1.el7_1.x86_64/bin/../lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar\" -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 -error 26 -error 27 frameworks/base/api/system-current.txt out/target/common/obj/PACKAGING/system-api.txt frameworks/base/api/system-removed.txt out/target/common/obj/PACKAGING/system-removed.txt || ( cat build/core/apicheck_msg_current.txt ; exit 38 ) ) && (mkdir -p out/target/common/obj/PACKAGING/) && (touch out/target/common/obj/PACKAGING/checksystemapi-current-timestamp)"out/target/common/obj/PACKAGING/system-api.txt:25032: error 3: Added class IExampleService to package android.osout/target/common/obj/PACKAGING/system-api.txt:25037: error 3: Added class IExampleService.Stub to package android.os******************************You have tried to change the API from what has been previously approved.To make these errors go away, you have two choices: 1) You can add "@hide" javadoc comments to the methods, etc. listed in the errors above. 2) You can update current.txt by executing the following command: make update-api To submit the revised current.txt to the main Android repository, you will need approval.******************************[ 5% 92/1736] Building with Jack: out...k_intermediates/with-local/classes.dexninja: build stopped: subcommand failed.make: *** [ninja_wrapper] Error 1[zzz@localhost android-src]$ pwd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
看到有几个错误: out/target/common/obj/PACKAGING/public_api.txt:23087: error 3: Added class IExampleService to package android.os out/target/common/obj/PACKAGING/public_api.txt:23092: error 3: Added class IExampleService.Stub to package android.os
out/target/common/obj/PACKAGING/system-api.txt:25032: error 3: Added class IExampleService to package android.os out/target/common/obj/PACKAGING/system-api.txt:25037: error 3: Added class IExampleService.Stub to package android.os