cocos2d-x 3.17 jsb android运行报错

mac2022-06-30  18

编译成功,运行失败,提示如下:

2018-11-15 19:09:56.343 2820-2852/net.jd85.test D/cocos2d-x debug info: cocos2d: fullPathForFilename: No file found at script/jsb_prepare.js. Possible missing file.

 

原来不能把gradle插件升到最新,把项目内的proj.android文件里的降级到3.1.0就可以了。

 

dependencies { classpath 'com.android.tools.build:gradle:3.1.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files}cocos官方解答:https://forum.cocos.com/t/win10-cocos2d-x-3-17-jsb-android/69254

转载于:https://www.cnblogs.com/JD85/p/10051194.html

最新回复(0)