Power & Source of Big Ideas

I had tried to build the Android, and encouter the following error after executing: ./build.sh lunch I believe I had all the dependencies. And from google, someone with Cubieboard is having the same problem. Can advise what's wrong and how i can proceed from here??? And here's my PC running Ubuntu D...
I had just received my NANOPI-M1, however I can't tell if the M1 given to me is indeed 1GB, please advise how I can perform the check.

Thanks