[英]How can I tell which IDE an Android project was made with?
For example this project. 例如这个项目。 I see it has Gradle files, but a quick search says Eclipse has a Gradle plugin as well.
我看到它具有Gradle文件,但快速搜索显示Eclipse也具有Gradle插件。
https://github.com/sephiroth74/HorizontalVariableListView https://github.com/sephiroth74/HorizontalVariableListView
The Android build system is built on top of gradle: Android构建系统基于gradle构建:
https://developer.android.com/tools/building/plugin-for-gradle.html https://developer.android.com/tools/building/plugin-for-gradle.html
So that means that just plain gradle is not enough to build an Android project. 因此,这意味着仅凭gradle不足以构建Android项目。
As ADT never used gradle and Google has ended Eclipse support, you can be reasonably confident that an Android gradle project was made using Android Studio. 由于ADT从未使用过gradle,并且Google已经结束了对Eclipse的支持,因此您可以有把握地确信一个Android gradle项目是使用Android Studio创建的。
Android Studio , which is developed based on IntelliJ. Android Studio ,它是基于IntelliJ开发的。 It uses gradle to build the project.
它使用gradle构建项目。
If a project contains .classpath
or .project
, it should be made by Eclipse. 如果项目包含
.classpath
或.project
,则应由Eclipse创建。 Or it should be made by android studio. 或者应该由android studio制作。 A project made by android studio can not be imported into eclipse.
android studio制作的项目无法导入eclipse。
Gradle is a building tool. Gradle是一种构建工具。 It has plugins for Eclipse , IntelliJ , Android Studio and Netbeans .
它具有Eclipse , IntelliJ , Android Studio和Netbeans的插件。 So you won't be able to tell which IDE an Android project is made with from just a gradle file.
因此,您将无法仅从gradle文件中得知使用哪个IDE创建了Android项目。 Some project structures vary, for Eclipse projects and IntelliJ ones, you can find easily differences between them if you are familiar with both.
有些项目结构各不相同,对于Eclipse项目和IntelliJ,您可以很容易地发现它们之间的差异。 But some are not explicitly, for IntelliJ projects and Android Studio ones.
但是对于IntelliJ项目和Android Studio项目,没有明确列出。
BTW, do IDE s matter? 顺便说一句, IDE有关系吗? The App you are building does, I am afraid.
恐怕您正在构建的App确实可以。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.