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'

  1. Close your project
  2. Back up your project
  3. Delete the .idea folder in the root directory of the project
  4. Delete all the .iml files in your project.
  5. Import your project in Android Studio, and in the dialog that prompts you for a file, choose the build.gradle file.

results matching ""

    No results matching ""