.jar issues with aosp on ubuntu 16.04

1,008 views
Skip to first unread message

Geek Till It Hertz

unread,
Jun 9, 2016, 12:38:57 AM6/9/16
to Android Building
Export includes file: external/libcxxabi/Android.mk -- out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libunwind_llvm_intermediates/export_includes
Export includes file: external/compiler-rt/Android.mk -- out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/export_includes
external/guava/guava/src/com/google/common/reflect/Types.java:317: error: TypeVariableImpl is not abstract and does not override abstract method getAnnotatedBounds() in TypeVariable
  private static final class TypeVariableImpl<D extends GenericDeclaration>
                       ^
Export includes file: bionic/libc/Android.mk -- out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libc_common_intermediates/export_includes
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
1 warning
Export includes file: bionic/libc/Android.mk -- out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libc_aeabi_intermediates/export_includes
Export includes file: bionic/libc/Android.mk -- out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libc_bionic_intermediates/export_includes
Export includes file: bionic/libc/Android.mk -- out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libc_bionic_ndk_intermediates/export_includes
build/core/host_java_library.mk:91: recipe for target 'out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/javalib.jar' failed
make: *** [out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/ric/androidsource/aosp'

#### make failed to build some targets (02:44 (mm:ss)) ####


I was trying to build AOSP for flounder on Ubuntu 16.04 with openjdk 1.8 and am getting the error mentioned above. pl. help

Geek Till It Hertz

unread,
Jun 9, 2016, 5:32:49 PM6/9/16
to Android Building
solved bu installing open jdk 1.7 with the following files:

libgif4_4.1.6-11_amd64.deb
openjdk-7-jdk_7u101-2.6.6-0ubuntu0.12.04.1_amd64.deb
openjdk-7-jre_7u101-2.6.6-0ubuntu0.12.04.1_amd64.deb
openjdk-7-jre-headless_7u101-2.6.6-0ubuntu0.12.04.1_amd64.deb
tzdata_2015g-1_all.deb
tzdata-java_2015g-1_all.deb

AFAIK the main issue was tzdata-java which is not available for 16.04 yet

龚泽龙

unread,
Oct 31, 2016, 11:51:55 AM10/31/16
to Android Building
How did you get the files you list?
Have you delete the open jdk 8 which is previously install on Ubuntu 16.04?
Have you built the android source code on Ubuntu 16.04?
Reply all
Reply to author
Forward
0 new messages