pastebin

Paste Search Dynamic
Error when building android 9
  1. The error message is attached below. It always fails at this point, with the same exact error message. The error is:
  2.  
  3. [ 4% 809/19992] Hidden API: out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar FAILED: out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar /bin/bash -c "(rm -f out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar ) && (cp \"out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar\" \"out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar\" ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (unzip -q out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 'classes*.dex' -d out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (find out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt ) && (out/soong/host/linux-x86/bin/soong_zip -o out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -C out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -D out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (out/soong/host/linux-x86/bin/merge_zips -D -zipToNotStrip out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -stripFile \"classes*.dex\" out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar )" xargs: out/host/linux-x86/bin/hiddenapi: terminated by signal 4
  4.  
  5. PS. I posted this isssue on Stack Overflow but they closed my thread.
  6.  
Parsed in 0.007 seconds