Hello every one, i use cocos2dx v3.9 to create a game.
I use the android studio to open the android studio project to build the game.
I try to run on an armeabi-v7a based emulator and see the error message at the run windows as below.
eglMakeCurrent failed
eglMakeCurrent failed
distrib/android-emugl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glUseProgram:2073 error 0x501
distrib/android-emugl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glUseProgram:2073 error 0x501
Error making draw context current
draw: Could not use program error=0x501
draw: Could not bind GL_ARRAY_BUFFER error=0x502
I open the HelloWorldScene.cpp file and make the code error by change the line
auto layer = HelloWorld::create() ;
to
auto layer = HelloWorld::create() ggg
and build again i don’t see the build error.
I think the android studio not build the cpp files.
How to force the android studio build the cpp files