cocos2d-js 打包android cc.LabelBMFont无法使用

版本是 3.0beta
系统是 win7 64位
命令是 cocos run -p android -ap 16

封装了一个文件
var TextEffect = cc.LabelBMFont.extend({

do something;

});

TextEffect.create = function (str, pos) {
var ret = new TextEffect();
if(ret && ret.init(str,pos))
return ret;
cc.log(“FrontEffect create fail str=”,str);
return null;
};

会报错
TypeError: cc.LabelBMFont.extend is not a function

是缺少什么文件 还是什么情况?

在project.json里的modules里面添加了labels模块了吗

“modules” : “cocos2d”, “cocostudio”,“editbox”], cocos2d 应该就包含了吧?

在moduleConfig.json里面也是有labels 模块的

我也遇到同样类似问题,我的类是继承ccui.Widget 然后在VS中编译运行时,就会提示 TypeError: ccui.Widget is not a function

ccui 需要在modules 里添加 cocostudio 这个添加了吗?

:6::6::6:跪求大神指点