Cant migrate project to Gradle in Android Studio
First, though, it looks like you don't have a settings.gradle
file; it looks like you need one.
Since you've set up your project as a single-module project, then you can put the file in your project's root directory, next to build.gradle. It should contain this:
include ':app'
- Close your project
- Back up your project
- Delete the
.idea
folder in the root directory of the project - Delete all the
.iml
files in your project. - Import your project in Android Studio, and in the dialog that prompts you for a file, choose the build.gradle file.