如何在Eclipse导入Android的Studio项目? [英] How to import Android Studio project in Eclipse?

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

问题描述

我在Android的工作室做了一个项目,现在我想导入项目到Eclipse中,有选择,日食转换到Android工作室,但是如何将Android的工作室到Eclipse?

i have made a project in Android Studio , now i want to import that project into Eclipse, there are options to convert eclipse to Android Studio , but how to convert Android studio to Eclipse?

推荐答案

正如有人说,一个完整的进口是不可能的,但只是尝试手动进口。对于Android项目的主要文件是Java源代码code(src目录下),资源XML文件和清单。只是在Eclipse中创建一个新的Andr​​oid项目,并通过简单的复制这些文件。您可能需要创建一个新的封装结构,因此构造所需的软件包,并复制每个的资源文件了,如果需要重构包的名称。如果您使用任何附加的库,您可能需要手动导入他们。

As the others say, a full import is not possible, but just try a manual 'import'. The key files for an Android project are the Java sourcecode (src directory), the resource XML files and the Manifest. Just create a new Android project in Eclipse and simply copy these files over. You may have to create a new package structure, so construct the necessary packages and copy each sourcefile over and refactor the package name if necessary. If you use any additional libraries, you may have to manually import them as well.

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

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