Migrate to gradle project for using in Android Studio.