如何导入的项目文件,而无需摇篮文件到Android的工作室 [英] How to import project files without Gradle files into Android Studio
问题描述
我想一个项目导入到我的Android工作室。它的工作原理以及在Eclipse当我的朋友给我的。
I want to import a project into my Android Studio. It works well in Eclipse when my friend gave it to me.
但我无法将其导入到我的Android工作室。和所有的教程告诉我,我应该添加/编辑摇篮文件时没有在这个项目中没有摇篮文件。所以,我该怎么无需下载Eclipse IDE的呢?非常感谢。
But I couldn't import it into my Android Studio. And all the tutorial told me that I should add/edit the Gradle files when there is no Gradle files in this project. So what am I going to do without having to download the Eclipse IDE? Many thanks.
推荐答案
您可以将项目从Eclipse中导出到一个项目的gradle
You can export the project from eclipse to a gradle project.
-
右键点击您的项目。
Right clicks your project.
点击次数在弹出菜单中选择导出。
Clicks the 'export' in the popup menu.
选择的Android>的gradle生成生成文件。 (如果没有'的gradle生成生成文件,也许你需要安装gradle这个Eclipse插件:的这里)
然后你可以导入在Android的工作室这个项目。
Choose Android > Generate gradle build files. (If there is not 'Generate gradle build files', maybe you need to install gradle plugin for eclipse: here) And then you can import this project on android studio.
这篇关于如何导入的项目文件,而无需摇篮文件到Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!