compilation error while building kitkat...No rule to make target `out/host/linux-x86/bin/dx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro |
New
|
Undecided
|
Unassigned |
Bug Description
HI ,
I am building android kitkat ...build script was taken from linaro...
after complete repo sync when it starts conliling after few min...it throws an error
Notice file: frameworks/
cat out/host/
make: *** No rule to make target `out/host/
make: *** Waiting for unfinished jobs....
echo '#endif' >> out/host/
rm -f out/host/
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.
what could be the possible solution?
What variant of KitKat are you building? Plain AOSP or CM-11.0 or what? Also, for what device?
The problem is most likely that you need the following line in your platform/ external/ dexmaker/ Android. mk file.
LOCAL_SRC_FILES := $(call all-java- files-under, src/main/java src/dx/java)
If not that, than you probably do not have the platform_ external_ dexmaker project in your manifest and will need to add it and then repo sync again, or git clone it into platform/ external/ dexmaker.
If building AOSP here is a list of the projects: https:/ /android. googlesource. com/?format= HTML