Export gradle from Eclipse and use Android Studio to compile the project.