简体   繁体   English

我怎么知道一个Android项目是用哪个IDE制作的?

[英]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/Horizo​​ntalVariableListView

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 . 它具有EclipseIntelliJAndroid StudioNetbeans的插件。 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.

相关问题 如果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 我如何知道Android .so是在哪个运行时编译的? - How can I tell which runtime an Android .so was compiled with? 谁能告诉我如何在我的 flutter 项目中访问 android 手机中可用的警报声音 - Can anybody tell me how i can access alarm sounds that are available in android mobiles in my flutter project 如何判断我使用的是哪个Android支持库v4修订版? - How can I tell which Android Support Library v4 revision I use? 如何在 Android Studio IDE 中找到我项目中所有未使用的方法? - How can I find all unused methods of my project in the Android Studio IDE? 如何在不使用任何付费解决方案或任何IDE或Eclipse的情况下将android项目编译为apk文件? - How can I compile a android project to a apk file without using any paid solution or any IDE or eclipse? 如何判断哪个应用程序在Android Studio中生成调试语句? - How can I tell which app is producing debug statements in Android Studio? 如何判断屏幕是否在android中? - How can I tell if the screen is on in android? 如何使用Ant构建Android项目? (IntelliJ IDE) - How do I build an Android project using Ant? (IntelliJ IDE) 我有一个缺少gen文件夹的现有android项目。 我如何运行这个项目? - I have an existing android project in which gen folder is missing. How can i run this project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM