请问用ide创建的js项目如何打包?

cocos code ide版本是intellij IDEA 14.1.1
cocos js 版本是3.6

用IDE创建的项目可以运行(配置JSBinding 用cocos 模拟器运行),用打包命令行: cocos run -p android 提示: current available platforms: ‘Web’].‘android’ is not availabel

用命令行创建的项目:cocos new -l js JSTest 再用上面的打包命令可以成功执行,但用IDE运行不了,配置JSBinding时提示:JS project does not exist,please create one

求解