Project

General

Profile

Replicant60BuildTips » History » Version 1

Wolfgang Wiedmeyer, 06/21/2017 08:50 PM
init with build error

1 1 Wolfgang Wiedmeyer
h1. Tips for building Replicant
2
3
h2. Build errors
4
5
On a less powerful build host, the following build error can happen:
6
<pre>
7
target Java: org.cyanogenmod.platform.sdk (/home/replicantbuilder/replicant-6.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes)
8
javac: file not found: /home/replicantbuilder/replicant-6.0/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
9
Usage: javac <options> <source files>
10
use -help for a list of possible options
11
build/core/java.mk:394: recipe for target '/home/replicantbuilder/replicant-6.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar' failed
12
make: *** [/home/replicantbuilder/replicant-6.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar] Error 41
13
</pre>
14
15
This can be fixed by building the specific target that fails:
16
<pre>
17
mka org.cyanogenmod.platform-res
18
</pre>
19
20
h2. Cleaning up