什么是包含在IntelliJ IDEA的Andr​​oid的插件版本? [英] What is the Android plugin version included in IntelliJ IDEA?

查看:240
本文介绍了什么是包含在IntelliJ IDEA的Andr​​oid的插件版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

...以及如何找到它(在权威性的方式)?

在Android的工作室0.8.11:当我检查相同它显示10.0.8.11。这相当于 http://tool​​s.android.com/recent 和<一href="http://developer.android.com/sdk/installing/studio.html">http://developer.android.com/sdk/installing/studio.html.

In Android Studio 0.8.11: when I check the same it shows 10.0.8.11. which corresponds to http://tools.android.com/recent and http://developer.android.com/sdk/installing/studio.html.

在IDEA EAP 14:当我去的设置>插件> Android的支持的显示的版本号为10.0不对应于最新版本的IDEA / Android的工作室/ SDK / API。所有上述的V10都太旧,在一个尖端软件的默认捆绑。

In IDEA EAP 14: when I go to Settings > Plugins > Android Support the version number shown is 10.0 which doesn't correspond to a recent version of IDEA/Android Studio/SDK/API. All of the above at v10 are too old to be the default bundle in a bleeding edge software.

我查了的.jar 文件' META-INF ,但没有运气。有些的.jar 的名字给一个线索,这是我能推断出:

I checked the .jar files' META-INF, but no luck. Some .jar names give a clue, here's what I was able to deduce:

╔════════════════════════════════╦═══════════════╦═══════════════╦════════════════╗
║                                ║ IntelliJ IDEA ║ IntelliJ IDEA ║ Android Studio ║
╠════════════════════════════════╬═══════════════╬═══════════════╬════════════════╣
║ Version                        ║ 13.1.5        ║ 14 EAP        ║ 0.8.11         ║
║ Build                          ║ IC-135.1289   ║ IC-138.2458.8 ║ AI-135.1446794 ║
║ Date                           ║ 2014-09-30    ║ 2014-09-25    ║ 2014-09-18     ║
║ builder-model.jar              ║ 0.12.0        ║ 0.12.0        ║ 0.13.0         ║
║ Android Support Plugin version ║ 10.0          ║ 10.0          ║ 10.0.8.11      ║
║ IntelliJ IDEA equivalent       ║ 13.1.5        ║ 14.x          ║ 13.1.5 RC**    ║
║ Android Studio equivalent      ║ 0.8.?*        ║ 0.8.?*        ║ 0.8.11         ║
╚════════════════════════════════╩═══════════════╩═══════════════╩════════════════╝

* 的基础上摇篮插件和发布日期< A HREF =htt​​p://tool​​s.android.com/recent/androidstudiobetareleased> Android的工作室测试版
** 我们从的IntelliJ 13.1.5 RC 的最新变化合并

* based on release dates of Gradle plugin and Android Studio Beta
**We've merged in the latest changes from IntelliJ 13.1.5 RC

该版本看起来并不很远,我不知道该 0.8 <?/ code>版本的究竟是什么。我试着换插件/ Android版(并删除重复的EP: Designer.customizations )的IDEA 14文件夹,但它与的NoSuchMethodError 取值启动后闪闪发光!

The versions doesn't look that far apart, I'm wondering what the 0.8.? version are exactly. I tried to swap plugins/android (and remove the duplicate EP: Designer.customizations) in the IDEA 14 folder, but it's sparkling with NoSuchMethodErrors after startup!

推荐答案

它的复杂,而这将是一个长期的答案。不幸的是,我们没有一个很好的答案很简单,因为我们没有做插件的版本在某种程度上是有道理的。这是我们应该做的。

It's complicated, and this will be a long answer. Unfortunately, we don't have a good short answer, because we don't do versioning of the plugin in a way that makes sense. This is something we should do.

要回答这个问题,需要翻翻JetBrains公司提交日志为他们的不同版本的IntelliJ的。如果我下载的Git仓库为Android插件,附带的IntelliJ CE(请参阅下面的更多的细节较长的答案),我看到这样的:

To answer the question requires looking through JetBrains' commit logs for their different versions of IntelliJ. If I download the git repository for the Android plugin that ships with IntelliJ CE (see below for the longer answer with more details), I see this:

  • 13.1.5:大致相当于Android的工作室0.8.6。要求并支持Android的摇篮插件v0.12。
  • 14:它跟踪的是最新版本的Andr​​oid工作室,但它落后于由可能长达一个星期。确切的版本将取决于JetBrains的时候切一个给定的发布之前做了一个插件的源拉从Android团队。它需要在Android摇篮插件v0.12,支持0.13。

在该长的解释:

Android的生成工具球队并与JetBrains的2路code共享。 Android的工作室是建立在135分支的IntelliJ codeBase的(这也解释了IC-135,你在它的版本号见),因此Android工作室是由IJ 13.1.5派生的顶部,有一些修改和补丁的避风港'T被upstreamed。我们不打算迁移到138支由我们到达1.0的时候,所以即使在发布它仍然是13为基础的,而不是14为基础的。

The Android Build Tools team does 2-way code sharing with JetBrains. Android Studio is built on top of the 135 branch of the IntelliJ codebase (which explains the IC-135 you see in its build number), so Android Studio is derived from IJ 13.1.5, with some modifications and patches that haven't been upstreamed. We're not planning on moving to the 138 branch by the time we get to 1.0, so even at release it will still be 13-based, not 14-based.

在JetBrains公司'的一面,他们大多是采取从安卓的插件上游的变化,但他们也有乡亲工作的插件就在自己身边(以及这些变化得到合并,回落到事情的机器人工作室结束)。这一点在13的生命周期,他们做的是慢慢释放,而且更保守他们拉进了Android插件(在稳定的利益),所以它不是完全取决于最新的。他们这样做的版本的bug修复的主要产品,而不是搭载了最新的Andr​​oid插件。

On JetBrains' side, they mostly take upstream changes from Android for the plugin, but they also have folks working on the plugin on their side (and those changes get merged back down to the Android Studio end of things). At this point in 13's life cycle, they do releases of it slowly and are more conservative about what they pull into the Android plugin (in the interests of stability), so it's not completely up-to-date. They do releases for bug fixes in the main product and not to pick up the latest Android plugin.

在一般它可能无法升级只是你的Andr​​oid插件,如果你正在运行IJ 13.更改插件常常需要改变基础平台; Android的工作室将拿起这些变化,因为它的平台是发布随着它的插件,但IJ将需要等待,直到这些更改upstreamed。话虽如此,这些变化的速度是相当慢的了,但它仍然发生。

In general it's probably not possible to upgrade just your Android plugin if you're running IJ 13. Changes to the plugin frequently require changes to the underlying platform; Android Studio will pick up those changes because its platform is releases along with its plugin, but IJ will need to wait until those changes are upstreamed. Having said that the rate of these changes is quite slow now, but it still happens.

对于14 EAP释放,他们应该更迅速地拉从Android的变化,使建设应更密切地反映机器人工作室的当前状态,虽然这又取决于他们经常做这些拉。

For the 14 EAP release, they should be pulling changes from Android more rapidly, so that build should more closely reflect the current state of Android Studio, though again it depends on how often they do those pulls.

应该指出的是,我们并不协调版本或code拉与JetBrains公司的大部分,所以14 EAP的指定版本将反映Android插件的当前状态,他们做了$ C时$ C拉动。因此,它可对应于一些状态之间的Andr​​oid工作室释放

It should be noted that we don't coordinate releases or code pulls with JetBrains for the most part, so a given release of 14 EAP will reflect the current state of Android plugin at the time they did the code pull. As such, it may correspond to some state in between Android Studio releases.

要回答有关评论一个问题,为什么机器人工作室和IntelliJ是不同的产品:

To answer a question in the comments about why Android Studio and IntelliJ are separate products:

  • Android的工作室的目的是为Android开发一个定制和简化的体验。它侧重的摇篮构建系统(尝试使用非摇篮为基础的项目不鼓励),以及一些功能和选项没有意义的Andr​​oid开发者已被删除。
  • 对于谁想要更多的灵活性的用户,我们鼓励他们使用的IntelliJ CE。
  • 的IntelliJ终极版,该产品的付费版本,具有更多的功能,这些功能真的很强大,这是为那些谁需要这些功能的绝佳选择。
  • 的IntelliJ和Android插件最初由的IntelliJ开发的,那些都将会消失。 Android团队正在与JetBrains公司,以提高这两种产品支持Android,并提供了对Android Studio作为其特定的观众一个优化的产品。

如果你想在一个IDE中的一切,那么你最好的选择是可能的IntelliJ运行CE或旗舰版。它应具有的Andr​​oid Studio的所有重要功能,尽管它可能是粗糙斑点使用。如果您找到的东西在里面不正确的工作,但做的工作的机器人工作室(尤其是涉及到摇篮项目支持),那么我们认为这是一个错误,所以请备案。

If you want everything in one IDE, then your best bet is to probably run IntelliJ CE or Ultimate. It should have all the important functionality of Android Studio, though it may be rougher to use in spots. If you find things that don't work right in it but do work in Android Studio (especially related to Gradle project support), then we consider it a bug, so please file it.

这篇关于什么是包含在IntelliJ IDEA的Andr​​oid的插件版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆