Up to date documentation or tutorial for setting up Android?

Hi there! I’ve finished my app for iOS without major issue, and I’m trying to get Android going, and I’m a bit lost. When I ran the initial setup script setup.py, it asked for the paths to NDK_ROOT, ANDROID_SDK_ROOT, ANT_ROOT, and I just skipped these steps. Is there any up to date tutorials or documentation on what to do, what packages (and what versions) I need to install and environment variables to set?

I found this:
http://www.cocos2d-x.org/wiki/Android_with_Terminal_Installation_and_Setup#
but it wasn’t clear enough to me, and it’s 3 years old so I’m not sure it’s up to date.

I’m using Android Studio, and the gradle project sync is failing, it looks like part of it is those variables aren’t set. I assume if I install the correct packages and run the setup script again, it will be ok?

This seems to be more up to date:
http://cocos2d-x.org/docs/installation/Android-Studio/

The Wiki is really old and we should remove it at some point.

Use the site you already found. It has the latest. That will help you get started. Other questions, please ask.