Compiling Cocos2dx 4.0 on andriod

Does anyone have advice or a guide for getting cocos2dx helloworld project compiling for android right now? Or is anyone successfully compiling cocos2dx for android right now? Which versions of gradle and java are you using?

The gradle versions are so old I can’t seem to bootstrap it, keeps giving me ‘failed to initialize C++’ or multitudes of other errors after fixing the namespace stuff and gradle versions in multiple build files. Compiling on windows in android SDK, I may try compiling on a mac next. I was following the youtube guide from 2023 (won’t let me post the link here)

Thanks!