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

On Thursday, June 9, 2016 at 10:08:57 AM UTC+5:30, Geek Till It Hertz wrote:
>
> 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
>

-- 
-- 
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