Android build error for naugat

516 views
Skip to first unread message

hariprasath gopal

unread,
Sep 25, 2017, 11:39:52 AM9/25/17
to Android Building
I always get the following error when i try to build AOSP

Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'out/target/common/obj/PACKAGING/public_api.txt', needed by 'out/target/common/obj/PACKAGING/checkpublicapi-last-timestamp', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1

I gave make update-api , I tried different JDK version. 
I am running Ubuntu 16.04 with 8GB ram on an I5 PC


Renjith Rajagopal

unread,
Sep 29, 2017, 10:43:29 AM9/29/17
to Android Building
Hi Hari,

Go to the folder/module you are trying to update.
Launch the command 'mma'
Then try building make

BR
Renj
Reply all
Reply to author
Forward
0 new messages