Build error - Android

I'm getting the following build errors
Ubuntu 18, lineageos 16, Oracle java 9,
https://hastebin.com/maditoziqa.coffeescript

Related

[Q] Error when compiling CM9 on Ubuntu 12.04 for Neo V

I'll just make it straight, i currently trying to build CM9 for Neo V (haida) on my Ubuntu 12.04 64 bit machine
I already installed all the required packages to build CM9, because when I build CM for emulator, it has no error.
here is my Notebook configuration :
Intel Core i7 2630QM
4 GB RAM
Ubuntu 12.04 LTS 64 bit
Sun Java 6 JDK (not using OpenJDK 6)
here I attach the log when i'm building :
( i use make -j8 )
Spoiler: log
Code:
[B]make: *** No rule to make target `out/target/product/haida/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a', needed by `out/target/product/haida/obj/SHARED_LIBRARIES/libmock_ril_intermediates/LINKED/libmock_ril.so'. Stop.
make: *** Waiting for unfinished jobs....[/B]
target StaticLib: busybox_prepare (out/target/product/haida/obj/STATIC_LIBRARIES/busybox_prepare_intermediates/busybox_prepare.a)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I'm using Sun Java 6 JDK because when the build system checks the tools needed, if i use OpenJDK 6, it shows that i have to use Sun Java 6 JDK instead.
I've already search the internet, still found nothing. Can anyone help me with this? Currently I'm stuck at this error.
Last year i've already successfully build CM7 for Xperia X8

Building Android 4.3 Source on Ubuntu 16.04

Hello,
I am trying to build Android 4.3 for an ARM-based Computer on Module after upgrading my Ubuntu installation from 14.04 to 16.04. I was able to do this seamlessly on 14.04, but now it seems I am running into some problems. My logs indicate that GCC is throwing errors, so I'm thinking the problem is some discrepancy between GCC 4.x used in Ubuntu 14 and GCC 5.x used in Ubuntu 16. I would like to install GCC 4.x alongside GCC 5 on Ubuntu 16, but I'm not sure how to do that exactly.
Does anyone have any recommendations on getting 4.3 to build on Ubuntu 16.04, or at least installing an older version of GCC alongside GCC 5.x?
Here is the gist of my log file, seeing as how I don't know how to attach files:
Code:
https://gist.github.com/BTone/0428dad28751e60e8a4b40aea5438774
Any help would be greatly appreciated!

Kernel Compilation Errror

Hey, i was trying to compile kernel from these ( https://github.com/ashwinr64/android_kernel_xiaomi_oxygen/tree/cm-14.1-clean?files=1) sources (cm 14.1 clean branch) without any modification and I'm getting an error with zsmalloc.o. I have used lineageos_oxygen_defconfig and I was following this thread https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297 Could you help me?
I'm using Ubuntu 16, Google's toolchain (gcc 4.9), Java installed
Log of compilation:
https://del.dog/yubunuguza.php

Which java version for compiling Android Pie?

Hi everyone!
Thanks to the help from FSadino's thread, (https://forum.xda-developers.com/chef-central/android/how-to-build-lineageos-14-1-t3551484), I have managed to compile LineageOS Oreo for my Samsung S5. Once I successfully compiled Oreo, I decided to try building Android Pie. I made a new build directory, synced and tried to start my build, however, when I try to start jack-server, I get the following message:
[email protected]:~/work/pie$ export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g"
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-admin start-server
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g -cp /home/zog/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-diagnose
/home/zog/work/pie/prebuilts/jdk/jdk9/linux-x86/bin/java': Failed to parse version, please ensure you're running a supported java
[email protected]:~/work/pie$ java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)
I've tried install Oracle Java 8, but that didn't work.
Does anyone have any suggestions what I'm doing wrong?
Thanks!
zog

Build error

I'm getting the following build error
Lineageos 16, Ubuntu 18, Oracle java 9
https://hastebin.com/maditoziqa.coffeescript

Categories

Resources