如何打开在Android的工作室我现有的Eclipse项目? [英] How do I open my existing Eclipse projects in Android Studio?

查看:113
本文介绍了如何打开在Android的工作室我现有的Eclipse项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

切换到Android Studio和我所有的Eclipse中现有项目。 那么,什么是做到这一点的方法。

Switching to Android Studio with all my existing projects in Eclipse. So what is the procedure to do that.

推荐答案

导出从Eclipse中

1.Update您的Eclipse ADT插件(必须具有22.0或更高版本)。

1.Update your Eclipse ADT Plugin (you must have version 22.0 or higher).

2.In Eclipse中,选择File> Export。

2.In Eclipse, select File > Export.

3.In出现的窗口中,打开Android和选择生成摇篮构建文件。

3.In the window that appears, open Android and select Generate Gradle build files.

4.选择要导出为Android Studio并单击完成的项目。

4.Select the projects you want to export for Android Studio and click Finish.

您选择的项目保持在相同的位置,但现在包含一个build.gradle文件,并准备为Android工作室。

Your selected projects remain in the same location but now contain a build.gradle file and are ready for Android Studio.

导入到Android的工作室

1.In Android的Studio中,选择文件>导入项目。

1.In Android Studio, select File > Import Project.

2.找到从Eclipse导出的项目,选择项目的根目录,然后单击确定。

2.Locate a project you exported from Eclipse, select the project's root directory and click OK.

3,选择创建一个从现有的资源项目,然后单击下一步。

3.Select Create project from existing sources and click Next.

4.按照步行通过完成导入过程。

4.Follow the walk-through to complete the import process.

有关详细信息 clickhere

一些常见问题解答 Eclipse的迁移常见问题解答

迁移到Android工作室

这篇关于如何打开在Android的工作室我现有的Eclipse项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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