刚刚接触cocos2dx配置android开发环境

新建了一个android平台的项目
但在编译时cocos.log报错信息如下:
Failed to download any source lists!
java.net.UnknownHostException: dl.google.com

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:CocosLearn’.

Failed to find Build Tools revision 27.0.1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s

希望得到帮助

Failed to find Build Tools revision 27.0.1

cocos2dx 版本是什么

新人入坑cocos2dx最难的就是配置android环境,什么都不敢乱操作。现在好了,提示缺什么直接点击链接下载

大爱 Android Studio