4

I have an Android project created in Android Studio. It works fine in Android Studio, IDEA and build machine. Now we have several new developers who work in Eclipse and I can't set it up. Is it possible to convert gradle(android studio) project to Eclipse IDE?

twlkyao
  • 14,302
  • 7
  • 27
  • 44
wnc_21
  • 1,751
  • 13
  • 20

2 Answers2

4

You'll have to maintain the build separately in both Gradle and Eclipse; Eclipse can't use the Android Gradle builder natively. It's on our list of things to implement but we don't have a roadmap for it yet.

Things will go easiest if you use an Eclipse-like directory structure and adapt the Gradle build file to work with it. See Maintaining directory structure during Android Studio import for advice.

Community
  • 1
  • 1
Scott Barta
  • 79,344
  • 24
  • 180
  • 163
  • What about *.aar files? – wnc_21 Feb 19 '14 at 11:44
  • We have several lib projects builded as aar archives and gradle attach these archives to the project. How to attach them to eclipse? – wnc_21 Feb 19 '14 at 11:46
  • 1
    Eclipse doesn't support .aar, so you'll have to follow whatever instructions those libraries have for working in Eclipse, and treat them differently in both build systems. – Scott Barta Feb 19 '14 at 16:33
1

Or

Community
  • 1
  • 1
FD_
  • 12,947
  • 4
  • 35
  • 62