[英]How can I tell which version of Android tools is used by IntelliJ if an Android project is not Maven or Gradle-based
I'm using IntelliJ IDEA 14.0.2 Ultimate for Android development. 我正在使用IntelliJ IDEA 14.0.2 Ultimate进行Android开发。 Where in the IDE can I find the version of Android SDK build tools and platform tools it uses to build an Android project that's not a Gradle or Maven project? 我可以在IDE中的哪里找到用于构建不是Gradle或Maven项目的Android项目的Android SDK构建工具版本和平台工具版本? (Does that mean IntelliJ is using Ant to build?) (这是否意味着IntelliJ正在使用Ant进行构建?)
Uninstall Gradle and try building the project again from the IntelliJ. 卸载Gradle,然后尝试从IntelliJ重新构建项目。 If it doesn't work, it's probably using Gradle then, so then type gradle -v
or gradle --version
from the command line. 如果不起作用,则可能是在使用Gradle,然后gradle -v
键入gradle -v
或gradle --version
。
If it still works after you've uninstalled Gradle, it's probably using Ant I suppose. 如果您在卸载Gradle之后仍然可以使用它,则可能是我想使用了Ant。 If you want to find out more, start the SDK manager from IntelliJ. 如果您想了解更多信息,请从IntelliJ启动SDK管理器。 At the top of the window of your sdk manager should be the path to the Android SDK IntelliJ is using. 在sdk管理器窗口的顶部,应该是IntelliJ正在使用的Android SDK的路径。
Then look in the platform-tools/
folder or the tools/
folder. 然后查看platform-tools/
文件夹或tools/
文件夹。 And type ant -version
from the command line if you want to know the version of ant you're using. 如果您想知道所使用的ant的版本,请从命令行键入ant -version
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.