And it always stuck at the command: - yes Y | ./cocos2d/tools/cocos2d-console/bin/cocos.py compile -p android --android-studio:
Which has to download a brunch of files from https://jcenter.bintray.com. It would fail at random file, just stopped downloading and no response until timeout.
Is there something I need to do in advance? Anyway to keep the download alive?
I have played around with the project a bit and googled around too. I suspect it is out of memory problem so I have changed the max heap size using GRADLE_OPTS and then I got a build error saying my memory usage is over 4gig.
My repo is public so you can take a look at the src and Circle.yml there:
Just realized this was an android project. Pretty much all Android projects these days need more than 4GB of RAM in order to build successfully. Unfortunately, we are not able to provide additional RAM unless you are on a paid plan.
If you wish to build this project on CircleCI, you would need to upgrade to at least 1 paid container and we can bump the RAM for you.