Migrating from Eclipse
There are two ways to take on migration from an Eclipse project to a Gradle-based project:
- Use the import wizard in Android Studio to handle migration automatically
- Add a Gradle script to the Eclipse project and set everything up manually
Most projects are simple enough for the import wizard to be able to convert everything automatically. If there is something the wizard cannot figure out, it might even give you hints as to what you need to change for it to work.
Some projects, though, might be extremely complicated and require a manual conversion. If you have a huge project and you prefer to convert the project in steps, instead of all at once, it is possible to execute Ant tasks, or even entire Ant builds from Gradle. Doing ...
Get Gradle for Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.