Update project build tooling to the latest version.

Remove IntelliJ metafiles from the project. Android Studio can import the
.gradle file just fine.