开发者社区> 问答> 正文

Ant (Eclipse project) is not supported f?400报错

问题描述:

根据 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:


报错信息:


求指点。

展开
收起
爱吃鱼的程序员 2020-06-08 14:19:47 496 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    我是来学习的~

     

     

    游戏版号如何办理?http://www.shijixinhe.com/youxibanhao.html

    2020-06-08 14:20:05
    赞同 展开评论 打赏
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
NO MORE "SBT ASSEMBLY":RETHINK 立即下载
Project Fortis 立即下载
Sparklint a Tool for Identifyi 立即下载

相关镜像