在Eclipse和IDEA中使用gradle项目 [英] Using gradle project in both Eclipse and IDEA

查看:210
本文介绍了在Eclipse和IDEA中使用gradle项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android Studio中创建了一个Android项目。它在Android Studio,IDEA和构建机器中工作正常。
现在我们有几个在Eclipse中工作的新开发人员,我无法设置它。是否可以将gradle(android studio)项目转换为Eclipse IDE?

解决方案

您必须分别维护构建Gradle和Eclipse两者; Eclipse本身不能使用Android Gradle构建器。这是在我们的事情列表中实现的,但是我们还没有一个路线图。



如果您使用类似Eclipse的目录结构并适应Gradle构建文件与之配合使用。有关建议,请参阅在Android Studio导入期间维护目录结构


I have an Android project created in Android Studio. It works fine in Android Studio, IDEA and build machine. Now we have several new developers who work in Eclipse and I can't set it up. Is it possible to convert gradle(android studio) project to Eclipse IDE?

解决方案

You'll have to maintain the build separately in both Gradle and Eclipse; Eclipse can't use the Android Gradle builder natively. It's on our list of things to implement but we don't have a roadmap for it yet.

Things will go easiest if you use an Eclipse-like directory structure and adapt the Gradle build file to work with it. See Maintaining directory structure during Android Studio import for advice.

这篇关于在Eclipse和IDEA中使用gradle项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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