Migrating Eclipse ADT Android project to Android Studio

It’s been a couple of years since I’ve done any Android development. In the meantime I was aware that Android Studio was coming along, but apparently now Eclipse and the ADT plugins are no longer supported, so time to migrate source from some existing apps I was working on to Android Studio.

First issue: remove paths from .classpath and project.properties files otherwise ADT library references are not resolved on import.

Next issue: “Unsupported Gradle DSL method found: ‘compile()’!” – luckily this issue and the solution is described exactly here. This is my first experience with Gradle too, so got some more learning to do 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

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