creator 打android包失败 Could not GET 'https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971.pom'.

  • What went wrong:
    Could not resolve all files for configuration ‘:libcocos2dx:_internal_aapt2_binary’.

Could not resolve com.android.tools.build:aapt2:3.2.0-4818971.
Required by:
project :libcocos2dx
Could not resolve com.android.tools.build:aapt2:3.2.0-4818971.
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971.pom’.
Could not GET ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971.pom’. Received status code 400 from server: Bad Request
Could not resolve com.android.tools.build:aapt2:3.2.0-4818971.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971.pom’.
23 actionable tasks: 2 executed, 21 up-to-date
Could not GET ‘https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971.pom’. Received status code 400 from server: Bad Request

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

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

翻墙。