I am trying to compile cocos2dx code on android studio without android.mk file.
Is there any way to do so, because in cocos when we add new class then we have to ass it in android.mk file.
i dont want to do it again and again.
is there any way using which i can compile c++ code on android studio without android.mk file…???
Yea, I can feel that pain. After switching to android studio a nightmare has begun. ALWAYS some problems with everything, pure crap overall. But anyway, I have to build for android platform…
In the Xcode it’s all so simple and nice as usually and just works. Drag&drop files and compile them in no time.
Trying to use your solution, but without wildcard doesn’t work. How to make it happen?
But this is using wildcard and as was noted before, it’s bad idea?
I’m actually don’t know what that is… so finally I’ve just specified manually each .cpp file. Probably this is best solution? So I can include platform specific classes later, as I understand.