Unexpected end of JSON input: Updating cocos creator 2.3.2 to v 2.4.0

I have updated cocos creator v2.3.2 to v2.4.0, While compiling our android project i found the following error :slightly_smiling:
main.js:104 Unexpected end of JSON input Error: Unexpected end of JSON input
at jsb-adapter/jsb-engine.js: 3145:17
at Object.readFile (jsb-adapter/jsb-engine.js:3116:19)
at readJson (jsb-adapter/jsb-engine.js:3137:13)
at parseJson (jsb-adapter/jsb-engine. js:3430:3)
at download (jsb-adapter/jsb-engine.js:3333:5)
at downloadJson (jsb-adapter/jsb-engine.js:3442:3)
at downloadBundle (jsb-adapter/jsb-engine .js:3464:3)
at a (src/cocos2d-jsb.655a2.js:11881:1)
at src/cocos2d-jsb.655a2.js:11891:1
at Object.retry (src/cocos2d-jsb.655a2 .js:13295:1)

When i debug this on chrome devTool i found that following json file was not loading,
build->jsb-links->assets → internal ->config.97cbc.json
build->jsb-links->assets → main → config.ee485.json
build->jsb-links->assets → resources ->config.9a721.json

I have deleted assets folder and made build for android again, But got same result. After more debugging i found cc.assetManager.loadBundle in main.js was unable to load these json because fs.getStringFromFile(assets/internal /config.97cbc. json) returns empty string and readJson method fail to parse.

Please let me know if there is an issue in new cc.assetManager, Looking for solution
Please check snaps attached

I suppose you should delete whole build path first, and then try it again.