Help Importing Eclipse ADT project into Android Studio

  • Replies:1
Rob
  • Forum posts: 1

May 17, 2016, 8:01:53 AM via Website

Hi all, I have an eclipse ADT project that I need to make gradle-based. What would be the best way to approach this? Currently, I am having the following problems:

-When I try the import function in Android Studio, I get the following:

image

Since I did not make the project, I do not have it on an Eclipse workspace.

I tried importing it into Eclipse, and I got the message: "
favorite
I have an existing Eclipse ADT project that I am trying to import into Eclipse.

After importing the project, I am getting the error

"Project [name of my project] is missing the required Java library: 'library'"

Anyone have any idea what the best way to approach this would be?

Reply
Ashish Tripathi
  • Forum posts: 211

May 20, 2016, 2:51:56 PM via Website

May be this can help you.

There is a option in eclipse to export the gradle build file. Export -> export the gradle build file.

Once you will done this open you android studio. click on file than open eclipse project.

after that gradle will try to configure itself.

Make sure you are using the open internet connection. (gradle will download the dependencies online).

Share if having any problem,

Reply