Android build failing with build.xml:479: SDK does not have any Build Tools installed

后端 未结 6 747
粉色の甜心
粉色の甜心 2020-12-08 18:26

Why does my build fail with this error?

{android-sdk}/tools/ant/build.xml:479: SDK does not have any Build Tools installed

It

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 18:55

    http://andrewma.com/2013/05/18/resolving-sdk-does-not-have-any-build-tools-installed-error/

    After upgrading my Android SDK to 22, I started running into failed builds with the error message:

    {android-sdk}/tools/ant/build.xml:479: SDK does not have any Build Tools installed

    Couldn’t find very much on the web on how to resolve this and eventually I realized that it was because I only updated existing packages. In SDK 22, the platform tools and build tools are split up into their own items in the SDK manager.

    Make sure you install the build-tools and platform-tools.

提交回复
热议问题