Hi! I ported the device tree and vendor files of the Infinix Hot 2, but I kept them named like that, instead of saying BLU Energy X 2. Anyways. I run lunch, and choose my userdebug build. Then, I run make -j8. I just got this errror, which I will attach in a screenshot.
You asked for an OpenJDK7 build but your version is: Java version 1.7.0_80 Java SE Runtime Environment (build 1.7.0_80-b15) Java Hotspot 64-bit Server VM (build 24.80-b11, mixed mode)
Build/core/main.mk:198: *** stop. Stop.
#### make failed to build some targets (2 seconds) ####
How can I fix this error?
OK, so I fixed it, but now I get an error about " No rule to make target 'device/Infinix/d5110_infinix/audio/audio.cpp', needed by '.../out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o"
How to fix this? Thanks
how do you fix this plzz tell
Related
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
Got the following errors after compilation Hammerhead AOSP with "make otapackaage -j4":
target Java: core (out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes)
javac: target release 1.5 conflicts with default source release 1.7
make: *** [out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
javac: target release 1.5 conflicts with default source release 1.7
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes-full-debug.jar] Error 41
Full errors are here:
http://pastebin.com/QAFQWbF5
Can someone please help with the error?
tthtlc said:
Got the following errors after compilation Hammerhead AOSP with "make otapackaage -j4":
target Java: core (out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes)
javac: target release 1.5 conflicts with default source release 1.7
make: *** [out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
javac: target release 1.5 conflicts with default source release 1.7
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes-full-debug.jar] Error 41
Full errors are here:
http://pastebin.com/QAFQWbF5
Can someone please help with the error?
Click to expand...
Click to collapse
It's an error relating to the version of Java you have installed on your system. Which version do you have installed? Which Linux distribution/version are you using to compile? If you can tell me these things I can try and help you solve your error.
shimp208 said:
It's an error relating to the version of Java you have installed on your system. Which version do you have installed? Which Linux distribution/version are you using to compile? If you can tell me these things I can try and help you solve your error.
Click to expand...
Click to collapse
My java version is the latest 1.7 (from Ubuntu repository):
Ubuntu 12.04.03, LTS, 64-bit
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
javac 1.7.0_51
As per this:
http://forum.pcsoft.fr/fr-FR/pcsoft...n-error-target-release-1-5-conflicts/read.awp
and this:
https://groups.google.com/forum/#!topic/android-platform/NHhin464dxc
It seemed that Java 7 cannot generate compatible Java 5 binaries, whereas Java 6 still can.
Ok, I shall try downgrading it to Java 6 than.
Am I right to say this?
Hi all,
i had my last night spent trying searching solution for attached error any help will be highly appreciated
I am new to club on development rom ( aosp)
Details below
instructions followed from ( https://developer.sonymobile.com/op...ld-aosp-lollipop-for-unlocked-xperia-devices/)
using ubuntu LTS 16.04 64 bits , 4 gb ram , 4 processors (VM )
openjdk 7
repo Sync successfully:victory:
lunch successfully:victory:
Make -j or make -j4 are showing errors ( please see attached screen shot )
i tried clean build but no luck ,
its really annoying error , why a build should stumble upon a config which is totally service provider dependent not device dependent ... i am talking about APN . phone OS or complie should not be dependent on APN weather its avilable feeling terrible on the way or thought of person who design it this way
Follows are the error message dump last few lines.
Code:
including ./vendor/sony/yukon-seagull/proprietary/Android.mk ...
including ./vendor/sony/yukon-tianchi/proprietary/Android.mk ...
[COLOR="Red"]PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE togari
make: *** No rule to make target '–j'. Stop.[/COLOR]
#### make failed to build some targets (01:32 (mm:ss)) ####
ok finally i managed some how to complete the make aosp for togari marshmellow and follows is the result but its only showing system.img in out folder , while boot.img and user.img are missing ? any ideas whats gone wrong ... as per my understanding boot.img is actually recovery .img ?
if i just flash via fastboot the system.img will it work ?
Hello, I have more than three weeks with this problem.
I want to compile AOSP Android 6.0.0_r1 (openjdk-7jdk) for a LG K8 2017 phone (LGX240F) taking the free source code from LG.
I have followed all the existing tutorials in this forum I currently use Azure a computer with Ubuntu Server 16.04, 16GB Ram and 4 Core processor.
The problem that arises is that after 30 minutes elapsed sometimes 1 hour of compilation I receive the error 41 I have searched for different solutions and none of them has worked for me.
Code:
Last login: Wed Oct 31 14:00:30 2018 from 190.62.244.75
[email protected]:~$ screen -rx
Building with Jack: out/target/common/obj/JAVA_LIBRARIES/am_intermediates/with-local/classes.dex
Building with Jack: out/target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates/with-local/classes.dex
Building with Jack: out/target/common/obj/JAVA_LIBRARIES/appops_intermediates/with-local/classes.dex
Building with Jack: out/target/common/obj/JAVA_LIBRARIES/appwidget_intermediates/with-local/classes.dex
Building with Jack: out/target/common/obj/JAVA_LIBRARIES/bu_intermediates/with-local/classes.dex
Building with Jack: out/target/common/obj/JAVA_LIBRARIES/bmgr_intermediates/with-local/classes.dex
ERROR: /mnt/Storage/Android6/frameworks/base/test-runner/src/android/test/mock/MockPackageManager.java:886: The method checkAPKSignatures(String) of type MockPackageManager must override or implement a supertype method
build/core/java.mk:643: recipe for target 'out/target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates/with-local/classes.dex' failed
make: *** [out/target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates/with-local/classes.dex] Error 41
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:10:35 (hh:mm:ss)) ####
The server-jack when starting it with the following command "./jack-admin start-server" would give me a message that the variable JACK_JAR was not declared that solves it with this code.
Code:
JACK_VM_COMMAND = "java -Dfile.encoding = UTF-8 -Xmx8g -XX: + TieredCompilation -jar prebuilts / sdk / tools / jack-launcher.jar" JACK_JAR = "prebuilts / sdk / tools / jack.jar" ./prebuilts/ sdk / tools / jack-admin start-server
I think that the problem is due to the server-jack when seeing the status of the server immediately after having started it works correctly but after about 3 minutes it shows this error.
Code:
Getting statistic from background server
ERROR: No Jack server running
I hope you can help me with this problem because I do not know what else to do.
You may be missing some dependencies needed for building, (link) which ones/tutorials have you installed or used
Sent from my Moto E (4) Plus using Tapatalk
As I'm from Azure this is the one I liked the most but they are identical to the others I've seen there, another one that is very complete is Digital Ocean but with all I got the same error I tried Ubuntu 16.04, 14.04 and nothing always the same .
Code:
https://forum.xda-developers.com/chef-central/android/guide-how-to-build-rom-microsoft-azure-t3648669
https://www.digitalocean.com/community/tutorials/how-to-build-android-roms-on-ubuntu-16-04
https://forum.xda-developers.com/chef-central/android/guide-how-to-setup-ubuntu-16-04-lts-t3363669
https://forum.xda-developers.com/showthread.php?t=2455005
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