Skip to content Skip to sidebar Skip to footer

Android Opensource Project Build Error `failed: Out/soong/build.ninja`

I became interested in the Android's source code. I precisely repeated all the steps from the official guide source.android.com to compile it. I tried to compile it and I got: ...

Solution 1:

It seems that your ninja process is getting killed. That's probably because it tries to use too much RAM: we currently allow ~3.5GB RAM per workspace, so the Linux OOM-killer will kill any process that makes your workspace use more than that.

In order to use less RAM, could you please try building with fewer processes? E.g. with:

$ make -j2 aapt

Post a Comment for "Android Opensource Project Build Error `failed: Out/soong/build.ninja`"