Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you open an Android Studio project in Eclipse?

The new Android Studio allows for better Android development with better tools. I see a bunch of questions on how to transfer an eclipse project to android studio but what about the other way?

If you make an Android app in Android Studio, can you bring it back to Eclipse? If so, how?

This would be needed for specific eclipse plugins, such as the Blackberry Android plugin.

Thank you.

like image 261
SolidSnake4444 Avatar asked May 25 '13 02:05

SolidSnake4444


People also ask

Does Android Studio use Eclipse?

Android Studio is faster than Eclipse. There is no need to add a plugin to Android Studio but if we use Eclipse then we do need to. Eclipse needs many resources to start but Android Studio does not. Android Studio is based on IntelliJ's Idea Java IDE and Eclipse uses the ADT Plugin to develop Android applications.

What is Android Studio Eclipse?

Android Studio is the official Integrated Development Environment(IDE) for Google's Android operating system designed specifically for Android development. Eclipse is an Integrated Development Environment(IDE) that is widely used for Java-based application development.

Where can I find project in Android Studio?

If you only want to search for something in a specific file press Ctrl + Shift + F ( Control + Shift + F on the Mac ) or by the menu : Edit -> Find -> Find to open find a search box.

Is Eclipse still used for Android development?

With the release of Android Studio 2.2, the time has now come to say goodbye to the Eclipse Android Developer Tools. We have formally ended their support and development. There's never been a better time to switch to Android Studio and experience the improvements we've made to the Android development workflow.


2 Answers

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

  • Create a new Android empty project in eclipse
  • Overwrite the fresh res/ folder and the AndroidManifest.xml file, with the ones from the Android Studio project
  • Copy the content of the java/ folder from the Android Studio project (it should contain your package name folder structure, like com/example/app/, and the java files of course) in the Eclipse src folder
  • Link your needed libraries if it's the case

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

like image 141
Santacrab Avatar answered Oct 10 '22 17:10

Santacrab


It's not possible. We intend to add support for Gradle-based project in ADT but it's not currently possible.

like image 22
Xavier Ducrohet Avatar answered Oct 10 '22 17:10

Xavier Ducrohet