I tried debug in my android device but no success. When I add line “sc->addRegisterCallback(register_cocos2dx_js_extensions);”. App build failed with the reason " error: ‘register_cocos2dx_js_extensions’ was not declared in this scope". If I don’t add that line, app build success. When I connect Firefox, it show status is “Unexpected error”
I had to follow the instructions in this article but didn’t success. Can Anyone help me, thank all
I use cocos2d-js 3.10, firefox 39.0.3 (I tried firefox 44 but didn’t success).
It seems the firefox configuration steps are missing from the link in your post. See this tutorial for the information. I got it working with the iPhone Simulator, never tried with android though. You need a old firefox version indeed, version 40 and beyond it doesn’t work.