Compiling cocos2dx project in android studio with latest android sdk

Anybody here who successfully build the apk in android studio on windows system with latest android sdk? If yes please share the solution or make a tutorial or video tutorial , because this issue is not explained very clean.

Did you go through our install doc? https://docs.cocos2d-x.org/cocos2d-x/en/installation/Android-Studio.html

Did those steps work?

Does compiling a fresh ‘cocos new’ project work?

R16+ should be what you are using.

I downloaded cocos2dx 3.17.1 and made a new project after creating project i opened project on latest android studio. But not able to compile on android studio and project also not properly imported in android studio may be because of cocos compile command is not working in new android sdk.

If you are running Android Studio then you don’t use cocos compile ....

How did you get Cocos2d-x? Our GitHub repo or our .zip from our website?

Did you run download-deps.py?

Zip from website.Getting error when running download-deps.py command.

You must have some sort of python issue or network connectivity issue?

Are you using Python 2.7?

Python version is 2.7.6 and internet connectivity is also good.

I’d try again later. I’ve tested from 2 machines in different parts of the world and I can download just fine. Perhaps there is an issue from your ISP on.

Edit: Did you go through our install doc? https://docs.cocos2d-x.org/cocos2d-x/en/installation/Android-Studio.html

May be,i will try with different ISP.

what is your error problem/message when build?
And it seems your python is V3, check it with python --version