我可以将 android studio 项目导入到 eclipse 中吗? [英] Can I import an android studio project to eclipse?

查看:32
本文介绍了我可以将 android studio 项目导入到 eclipse 中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以将android studio项目导入eclipse.

I would like to know if it is possible to import an android studio project to eclipse.

到目前为止我尝试过:

  • 直接从eclipse导入:没有任何代码就导入了一堆奇怪的项目

  • Import directly from eclipse: imported a bunch of weird projects without any code

似乎 InteliJ 具有导出到 eclipse 的功能,但我在 android studio 中没有看到任何对它的引用...

It seems like InteliJ has an export to eclipse feature, but I don't see any reference to it in android studio...

谢谢!

推荐答案

不能直接导入项目,但实现起来并不难:

You cannot import the project directly but it's not to hard to achieve it:

  • 在eclipse中新建一个Android空项目

  • Create a new Android empty project in eclipse

用来自 Android Studio 项目的文件覆盖新的 res/ 文件夹和 AndroidManifest.xml 文件

Overwrite the fresh res/ folder and the AndroidManifest.xml file, with the ones from the Android Studio project

基本上,Android 应用程序的基本元素是 java 文件、清单文件和资源.从那里你可以在你最喜欢的 IDE 中构建一个项目

Basically the Android application fundamental elements are the java files, the manifest file and the resources. From there you can build back a project in your favorite IDE

这篇关于我可以将 android studio 项目导入到 eclipse 中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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