Hello guys,

I'm struggling to build android-7.1.2_r33 version for 
mini_emulator_x86_64-userdebug. 
The build ends with the error underneath. 

It seems the fields from
 import com.android.cts.security.R;

Cannot be found on class

StagefrightTest


What am I missing for this compilation?
Thank you.



[ 86% 39081/45093] Checking build with Jack: out/target/common/obj/APPS/
CtsSecurityTestCases_intermediates/jack.check.timestamp
FAILED: /bin/bash -c "(rm -f 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp
 
) && (rm -f 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list
 
) && (rm -f 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list-uniq
 
) && (mkdir -p 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/ ) && (rm -f 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list
 
) && (touch 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list
 
) && (echo -n 
'cts/tests/tests/security/src/android/security/cts/ARTBootASLRTest.java 
cts/tests/tests/security/src/android/security/cts/ActivityManagerTest.java 
cts/tests/tests/security/src/android/security/cts/AllocatePixelRefIntOverflowTest.java
 
cts/tests/tests/security/src/android/security/cts/AslrTest.java 
cts/tests/tests/security/src/android/security/cts/BannedFilesTest.java 
cts/tests/tests/security/src/android/security/cts/BitmapFactoryDecodeStreamTest.java
 
cts/tests/tests/security/src/android/security/cts/BrowserTest.java 
cts/tests/tests/security/src/android/security/cts/CertificateData.java 
cts/tests/tests/security/src/android/security/cts/CertificateTest.java 
cts/tests/tests/security/src/android/security/cts/CharDeviceTest.java 
cts/tests/tests/security/src/android/security/cts/ClonedSecureRandomTest.java 
cts/tests/tests/security/src/android/security/cts/ConscryptIntermediateVerificationTest.java
 
cts/tests/tests/security/src/android/security/cts/DeviceIdleControllerTest.java 
cts/tests/tests/security/src/android/security/cts/EncryptionTest.java 
cts/tests/tests/security/src/android/security/cts/HwRngTest.java 
cts/tests/tests/security/src/android/security/cts/IntentSenderRemovalTest.java 
cts/tests/tests/security/src/android/security/cts/IsolatedProcessTest.java 
cts/tests/tests/security/src/android/security/cts/IsolatedService.java 
cts/tests/tests/security/src/android/security/cts/KernelSettingsTest.java 
cts/tests/tests/security/src/android/security/cts/LinuxRngTest.java 
cts/tests/tests/security/src/android/security/cts/ListeningPortsTest.java 
cts/tests/tests/security/src/android/security/cts/MMapExecutableTest.java 
cts/tests/tests/security/src/android/security/cts/MediaMetadataRetrieverTest.java
 
cts/tests/tests/security/src/android/security/cts/MediaServerCrashTest.java 
cts/tests/tests/security/src/android/security/cts/NativeCodeTest.java 
cts/tests/tests/security/src/android/security/cts/NetdTest.java 
cts/tests/tests/security/src/android/security/cts/OpenSSLEarlyCCSTest.java 
cts/tests/tests/security/src/android/security/cts/OpenSSLHeartbleedTest.java 
cts/tests/tests/security/src/android/security/cts/PackageSignatureTest.java 
cts/tests/tests/security/src/android/security/cts/PutOverflowTest.java 
cts/tests/tests/security/src/android/security/cts/RunningAppProcessInfoTest.java
 
cts/tests/tests/security/src/android/security/cts/SELinuxTest.java 
cts/tests/tests/security/src/android/security/cts/STKFrameworkTest.java 
cts/tests/tests/security/src/android/security/cts/ServicePermissionsTest.java 
cts/tests/tests/security/src/android/security/cts/SkiaICORecursiveDecodingTest.java
 
cts/tests/tests/security/src/android/security/cts/StagefrightTest.java 
cts/tests/tests/security/src/android/security/cts/VoldExploitTest.java 
cts/tests/tests/security/src/android/security/cts/X509CertChainBuildingTest.java
 
cts/tests/tests/security/src/android/security/cts/activity/SecureRandomService.java
 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/src/src/android/security/cts/activity/ISecureRandomService.java
 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/src/aidl/android/security/cts/IIsolatedService.java
 
' >> 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list
 
) && (if [ -d 
\"out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/src\" ]; 
then find out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/src 
-name '*.java' >> 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list;
 
fi ) && (tr ' ' '\\n' < 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list
 
| sort -u > 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list-uniq
 
) && (if [ -s 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list-uniq
 
] ; then  JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack 
@build/core/jack-default.args --verbose error -g -D 
jack.java.source.version=1.8  --classpath 
out/target/common/obj/JAVA_LIBRARIES/platform-test-annotations_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/compatibility-device-util_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ctsdeviceutil_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ctstestrunner_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ctstestserver_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ctstestserver_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ctstestrunner_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ctsdeviceutil_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/compatibility-device-util_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/platform-test-annotations_intermediates/classes.jack
 
-D jack.import.resource.policy=keep-first -D jack.android.min-api-level=25 
-D jack.import.type.policy=keep-first 
 
@out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp.java-source-list-uniq;
 
fi ) && (touch 
out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/jack.check.timestamp
 
)"
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:66: cve_2015_1538_1 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:70: cve_2015_1538_2 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:74: cve_2015_1538_3 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:78: cve_2015_1538_4 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:82: cve_2015_1539 cannot be resolved or is 
not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:86: cve_2015_3824 cannot be resolved or is 
not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:94: cve_2015_3827 cannot be resolved or is 
not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:98: cve_2015_3828 cannot be resolved or is 
not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:102: cve_2015_3829 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:106: cve_2015_3864 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:130: cve_2015_3867 cannot be resolved or 
is not a field
ERROR: /home/user/working_directory/cts/tests/tests/security/src/android/
security/cts/StagefrightTest.java:150: cve_2015_3867_b_23213430 cannot be 
resolved or is not a field
[ 86% 39081/45093] Building with Jack: out/target/common/obj/JAVA_LIBRARIES/
android-icu4j-tests_intermediates/classes.jack
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1



-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to