Android的工作室0.5.3 - 为什么不"使项目与QUOT;运行兴建新的? [英] Android Studio 0.5.3 - Why doesn't "Make Project" run build any more?

查看:155
本文介绍了Android的工作室0.5.3 - 为什么不"使项目与QUOT;运行兴建新的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

制作项目,因为我已经升级到0.5.3的Andr​​oid Studio不为我造一个apk文件。有谁知道我怎么可以把它这样做呢?

"Make Project" in Android Studio doesn't build an apk file for me since I upgraded to 0.5.3. Does anyone know how I can make it do so?

我已经更新到buildToolsVersion 19.0.3,这是最新版本。

I have updated buildToolsVersion to 19.0.3, which is the latest version.

(每次Android的Studio更新它创造这样一个问题,我很抱歉,但我不是构建系统的专家,我几乎连有什么样的巫术是参与建设一个项目,任何想法)。

(Every time Android Studio updates it creates another problem like this, I'm sorry but I'm not an expert on build systems, I scarcely even have any idea what kind of voodoo is involved in building a project).

感谢。

推荐答案

您现在需要运行的gradle组装任务,使APK。这里是Google+上的帖子中的Android开发者工具社会各界对这个问题(由亚历克斯·鲁伊斯)。

You need to now run an assemble gradle task to make the apk. Here is a post on Google+ in "Android Developer Tools" community on the subject (By Alex Ruiz).

建立>进行行为的变化。
在Android Studio中(0.5.3,)的下一个版本中,我们已经改变了建立>让行为菜单,而是援引的组装摇篮的任务,现在他们只编译Java code(R.产生java的如果需要的话,)类似的Eclipse ADT的行为,这种变化将加速开发工作流程(pre-DEX,DEX,包装等运行/调试应用程序或导出APK的时候时,将只执行。)< BR>
作为一个副作用菜单中的生成>编译已被删除,因为它现在是多余的。

"Build > Make" behavior changes. In the next version of Android Studio (0.5.3,) we have changed the behavior of the "Build > "Make" menus. Instead of invoking "assemble" Gradle tasks, now they only compile Java code (generating R.java if necessary,) similar to Eclipse ADT's behavior. This change will speed up development workflows (pre-dex, dex, packaging, etc. will be executed only when running/debugging an app or when exporting an APK.)
As a side effect the menu "Build > Compile" has been removed, since it is now redundant.

这篇关于Android的工作室0.5.3 - 为什么不&QUOT;使项目与QUOT;运行兴建新的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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