Black screen after compiling for Android but on web is fine

Hello,

I wrote a sample just to get used to cocos2dx js and it works fine in Chrome with no error showing in the console, but if I try to compile it for Android I can only see the FPS in the left side of the screen + black screen.

Why is it working on the web but on Android not?

Is this Framework discontinued?!

Same is happening for me. There’s no explicit reason this is happening. Very confusing and frustrating.

I fixed it in my case