Closed goranstupar closed 1 year ago
There isn't actual error message so difficult to say. How much RAM do you have? You need at least 32GB (or 16GB and 16GB swap) to build Android 13.
Google still recommends Ubuntu 18.04 for building AOSP. It looks like you're using 22.04 and there could be changes in the required packages you need to install for that version (see https://source.android.com/docs/setup/start/initializing#installing-required-packages-ubuntu-1804).
You were right. It was a RAM issue.
I had 32GB of RAM and 2GB swap only. After increasing swap to 32GB, build is working properly.
btw, I haveno problem with building any other AOSP (10 of them) except this one on the same machine. Seems like Soong takes too many processes and almost 32GB of RAM for himself even with -j1.
There might be some leak in build configuration.
Something certainly changed with Android 13 as setting up Soong takes considerably longer than with previous Android versions and eats up a lot of RAM. I don't see how there could be anything in the Raspberry Pi specific configuration that would affect this.
Hi android-13 build is failing