I use Cocos Creator v2.0.9. When I try to build project for Android following errors appears and the build fails:
SyntaxError: Unexpected token
in JSON at position 1211
at JSON.parse ()
at Object.l [as readJson] (C:\CocosCreator\resources\app.asar\editor\builtin\cocos-services\panel\utils\utils.js:1:649)
It seems that error is inside the app.asar archive which I don’t know how to inspect.
I have already tried to create a new clear project, repair and also reinstall Cocos creator but nothing helped. I also tried to remove and add again i18n plugin, which I use in my project. Installation of upgrade editor to v2.0.10 also didn’t help… a similar error, which is discussed here, has appeared. The only solution in the mentioned discussion was reinstalation of OS, which I cant make now.
Any ideas on how to solve these errors?
Or maybe… how to properly and completely uninstall Cocos creator? The setup utility probably does not make the uninstalation properly.
Thanks for any reply!