- Cocos Creator 教程 : 导入第三方库到Androi
- Cocos Creator 资源
- Cocos Creator ScrollView 优化系列-2-
- Cocos Creator 多分辨率完美适配系列-5(贴边栏动画
- Cocos Creator 多分辨率完美适配系列-4(内容适配实
- Cocos Creator 多分辨率完美适配系列-7(封装库使用
- Cocos Creator 多分辨率完美适配系列-2(部署验证设
- Cocos Creator 多分辨率完美适配系列-3(背景适配实
- Cocos Creator 多分辨率完美适配系列-1(现状与最终
- Cocos Creator 多分辨率完美适配系列-6(刘海屏适配
添加第三方库目录
例如在工程中的build\jsb-default下新建jar目录
![](https://img.haomeiwen.com/i2315803/8fd5a22b0534e749.png)
修改build-cfg
进入对应的原生工程,找到build-cfg。然后添加需要复制的信息
"copy_resources": [
{
"from": "../../../jar",
"to": "../libs"
},
]
![](https://img.haomeiwen.com/i2315803/fede0980b7cee48b.png)
重新编译
![](https://img.haomeiwen.com/i2315803/553830b76664db32.png)
最后就可以在libs中看到你的文件了
网友评论