Hi, made a game and it will be finish soon.
I am using localstorage store game progress. This codes works perfectly in browser(chrome).
But in android mobile phone, scene is not loading, only black screen… There will be absolutely issue.
This was javascript recursive problem… Solved.
Also I tried this simple codes and again not working.
var ls = cc.sys.localStorage
ls.setItem("test", "test string")
var test_string = ls.getItem("test")
this.label.string = test_string
I controlled it in terminal (adb logcat)
Here is the error
E/cocos js error:(25165): line:0 msg:too much recursion
E/cocos2d-x(25165): ScriptingCore::callFunctionName error:__errorHandler wasn’t found!