wk1989
wk1989

Reputation: 621

What are export_includes and import_includes files when building Android

Can't find any useful info on this using Google.

All I found are people asking how to resolve compilation errors such as

make: *** No rule to make target `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/rild_intermediates/import_includes'.  Stop.

Upvotes: 7

Views: 11766

Answers (3)

Gopinaidu
Gopinaidu

Reputation: 163

you have to sync ril-caf repo from cm or lineage os .It was missing in your source.

Upvotes: 0

lane
lane

Reputation: 653

In case anyone does come here with that compilation error, I had this problem when I switched to a different terminal window and forgot to call lunch. (I had called source build/envsetup.sh).

Upvotes: 1

khosi morafo
khosi morafo

Reputation: 1

I had the same problem. When I looked closely at the error stack, it seemed that the /hardware/ril folder of the AOSP had gotten corrupted.

My solution was to remove the entire folder (/hardware) and then redo repo sync. This fixed the sources and it took about 3 minutes. But I do think that it will work best if your development environment is setup according to AOSP source download

Hope that helps someone.

Upvotes: 0

Related Questions