Can't find ant in the Android SDK

前端 未结 3 2017
小蘑菇
小蘑菇 2020-12-15 03:09

I\'m working my way through APress\'s Beginning Android 2 and I\'ve made it all the way to chapter 3, where we build a skeleton app. The book tells me to compile my applicat

相关标签:
3条回答
  • 2020-12-15 03:27

    I know it is a bit odd, but even I install brew install ant and rebuild / re-sync the gradle file, it still doesn't work, so I restarted my Intellij and it started to download the ant1.7 again from maven.

    0 讨论(0)
  • 2020-12-15 03:32

    Ant isn't included with the Android SDK. I suggest you get it from the official site.

    0 讨论(0)
  • 2020-12-15 03:46

    Ant is tool to build projects from commondline and it is different tool. It's not android specific. So if your are using a Debian-based/Ubuntu machine you can install it by

    sudo apt-get install ant 
    
    0 讨论(0)
提交回复
热议问题