Hello,
I am new here and this is my first post. I have a question concerning cocos2dx and Android Studio.
I followed this guide to get Cocos2Dx into Android Studio: https://www.youtube.com/watch?v=B9ObAzm6rnQ. The project has no errors, I am able to build, compile and run the project, however, it does not use the Gradle build system. There are no gradle files at all and I cannot figure out how to get them added. All things considering, everything seems to be working so my question is two fold. How can I get the gradle files into the project? And what is the worse that can happen if I continue the project without gradle files?
I have tried deleting all .iml files and .idea folder and then re-importing. I received the wizard that asked to make the project Gradle or Maven. I selected Gradle as normal, but after the setup process the project structure remained the same.
Additionally, each time I run the project the run wizard comes up asking if I would like to convert to Gradle and then I select yes, nothing happens. I receive a dialog that says “my project is not configured correct, would you like to run anyway”. I select yes and the project runs as normal.
Lastly, I tried creating my project and importing the cocos2dx as a referenced library in Eclipse. I then imported as a non-existing Android Studio project. I followed the wizard and again the results are the same.
Currently, this is how the project structure looks.
And this is the error I am receiving
I poised this same question on stackoverflow and they were not able to help me. I am hoping that the actual cocos2dx community can provide some answers.
Thank you!