简体   繁体   English

如果Android项目不是基于Maven或Gradle的,我如何知道IntelliJ使用的是哪个版本的Android工具

[英]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 -vgradle --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.

相关问题 ANDROID STUDIO:此项目不是基于 gradle 的项目 - ANDROID STUDIO: this project is not a gradle-based project 我如何在Maven中指定哪个android构建工具版本 - How can I specify which android build tools version in Maven Android Studio更新Bumblebee后,该项目不是基于Gradle的项目 - After Android Studio Update Bumblebee, The project is not a Gradle-based project 在基于Android Gradle的项目中设置集成测试 - Setting up integration tests in Android Gradle-based project 在Android Studio上调试基于gradle的Java项目? - Debugging a gradle-based Java project on Android Studio? 如何检查我的项目中使用了哪个 Gradle Android 插件版本? - How can I check which Gradle Android plugin version is used in my project? 使用基于Gradle的配置时,在Android Studio(IntelliJ)上运行简单的JUnit测试 - Running simple JUnit tests on Android Studio (IntelliJ) when using a Gradle-based configuration 该项目不是基于Gradle的项目。 如何从根目录打开项目? - The project is not a Gradle-based project. How do I open the project from the root directory? 像“SERVER_URL”这样的属性应该存在于基于gradle的Android项目中? - Where should properties like “SERVER_URL” live in a gradle-based Android project? 我怎么知道一个Android项目是用哪个IDE制作的? - How can I tell which IDE an Android project was made with?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM