Can I Import An Android Studio Project To Eclipse?
I would like to know if it is possible to import an android studio project to eclipse. So far I tried: Import directly from eclipse: imported a bunch of weird projects without any
Solution 1:
the best solution so far is to copy each XML and JAVA ... into the new project manually .
it is hard but it works
Solution 2:
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 theAndroidManifest.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, likecom/example/app/
, and the java files of course) in the Eclipsesrc
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
Solution 3:
Yes you can. In eclipse, select file > import > Android > Existing code into workspace and click import.
That's it.
Post a Comment for "Can I Import An Android Studio Project To Eclipse?"