I'm trying to build AOSP 6.0.1 for my nexus 5 so I followed the github tutorial on how to include opengapps in it. Build goes almost to to the end when it breaks because of system.img being larger then expected:
error: failed to build out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system.img from out/target/product/hammerhead/system
Out of space? the tree size of out/target/product/hammerhead/system is (MB):
1266 out/target/product/hammerhead/system
The max is 1024 MB.
I am using GAPPS_VARIANT := stock in my device.mk which should mean that the build should be exactly the same as the prebuilt image we can download from google site right? How come I get bigger system partition error then? What im trying to do is to make a custom build from scratch so that it looks like the one I have on my nexus right now (full clean aosp build, all gapps on it). I am yet to try building it with Mini or Micro package, but I wanted to ask for help and clarification on whats going on with my build
Thanks in advance