Tuesday, March 19, 2024
HomeAndroidHow to Import Eclipse Project into Android Studio

How to Import Eclipse Project into Android Studio

-

Releasing the Stable Version of Android Studio in December 2014, Google has announced that Android Studio is now the Official IDE for Android. It has removed Android ADT Bundle and replaced it with Stable Android Studio Version. Now as the latest IDE Updates will be available only to Android Studio, the users had to migrate their projects from Eclipse to Android Studio. Here is a simple tutorial on how to import eclipse project into android studio.eclipse-to-android-studio

Steps to Import Eclipse Project into Android Studio:

  1. Open Android Studio and Close all the projects which are opened by going to File > Close Project.
  2. This opens your Welcome Screen similar to the following Image:   import eclipse project into android Studio- Welcome screen
  3. Now select Import Non-Android Studio Project. It now opens Explorer window. Now select your Eclipse Project folder to be imported and click OK. The Eclipse projects are generally located at C:\Users\UserName\workspace by default. If you have a Zip file which you have imported while using Eclipse, just Extract the folder to any location and select that folder and click OK.
  4. Now Click Next, and Hit Finish leaving the Checkmarks as it is in Import Project from ADT (Eclipse Android) . Hit Finish
  5. Now Android Studio should start importing your Eclipse project. After finishing import, it shows import-summary.txt which consists of summary of what files are ignored and Replaced Jars with Dependancies.
  6. It should also show any errors while importing the project. In my case it is showing that importing has completed but it failed to find target API 19 (Kitkat) as my project was built in eclipse targeting API 19 and I have not installed API 19 in Android Studio. how to import eclipse project into android studioIn order for the Project to work, either I need to install missing API 19 platform or change the Target to API I am Currently using (i.e, API 21 for Lollipop).

Following these simple steps you should have successfully Import Eclipse Project into Android Studio.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

LATEST POSTS

SOLID Principles in Android with Kotlin Examples

Recently I had an interview experience where I went blank when the interviewer posed an Interesting Question - Explain SOLID Principles and how they are...

Building a Multi Module App in Android | Modularization in Android #1

Recently, I was in requirement for developing a Multi Module app in Android and I was going through this great lecture on it. This article...

Lambda function in Kotlin with Examples

Lambda function is powerful feature in any Programming language and Lambda function in Kotlin is no exception. In this article, we will look at how...

Higher Order Functions in Kotlin with examples

There are many advanced features in Kotlin which gives an edge for the user using this language over Java. One such feature is Higher Order...

Follow us

1,358FansLike
10FollowersFollow
399SubscribersSubscribe

Most Popular