AOSP Lollipop build keeps hanging

415 views Asked by At

I keep trying to build the latest Android source repository, but it always comes to a stop at one point, then it uses up just about all the system's RAM, and it keeps sitting there for hours without progressing one bit. It always comes to an end at about this line:

target Java: Contacts (out/target/common/obj/APPS/Contacts_intermediates/classes)

and when I Ctrl+C it, it always gives me this (sometimes among others, depending on how many threads I set for make):

make: *** Deleting file 'out/target/common/obj/APPS/Contacts_intermediates/classes-full-debug.jar'

I'm trying to build aosp_shamu-userdebug on a Ubuntu 14, with open jdk 7. All over the net I found two similar questions to mine, but both had only the answers "you need more RAM". I was trying to build with 8 GB, last night i put in 8 more and left my PC to build this overnight, but come morning it had stopped at the same exact spot. I also tried building with no multithreading, in case that was the issue, but the result was the same.

Seeing as the problematic .jar has "full-debug" in it, I would suppose a "user" variant build might be successful, but it would be just about useless to me - I need to get a userdebug or eng running. However, if it would provide me with a jumping point to building what I need, I would of course try it.

Any and all suggestions on this matter would be greatly appreciated, thanks.

0

There are 0 answers