cocos编译报错[Ant (Eclipse project) is not supported from Android SDK Tools 25.3.0]

真丶傻 2017-05-26 10:02:59
问题描述:
根据 cocos2d-x 官方文档教程配置开发环境,前面的要求都满足,后面编译的时候报错了。

junglone@junglone-ThinkPad-T440:~/develop/cocos2d-x-3.15/build$ python android-build.py -p 5 cpp-tests
cocos compile -p android -s /home/junglone/develop/cocos2d-x-3.15/build/../tests/cpp-tests --ndk-mode debug --app-abi armeabi-v7a --ap android-5
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 36
Current serial number in output stream: 36
Building mode: debug
Using Eclipse project : /home/junglone/develop/cocos2d-x-3.15/tests/cpp-tests/proj.android
Ant (Eclipse project) is not supported from Android SDK Tools 25.3.0.
Build dynamic library for project [ /home/junglone/develop/cocos2d-x-3.15/build/../tests/cpp-tests ] failed!

Ant配置:


Python:


Cocos2d-x 配置:


Available Android targets:


报错信息:
...全文
1313 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xjm925271237 2017-06-08
  • 打赏
  • 举报
回复
我也遇到这个问题了

722

社区成员

发帖
与我相关
我的任务
社区描述
Cocos2d-x相关内容讨论专区
社区管理员
  • Cocos2d-x
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧