Gradle build-info.xml not found for module app in Android Studio

Gradle build-info.xml not found for module app. Please make sure that you are using gradle plugin gradle:2.0.0-alpha or greater

I’m using the gradle plug in gradle:2.0.0-beta2. I randomly get this warning and after this very often either the app is not updated or it crashes.
It is enough to clean and rebuild to fix the issue.

  • Service.startForeground() throws NullPointerException when run with ServiceTestCase
  • A lot of NPE of DeviceMotionService happen recently
  • Starting a Song from Spotify Intent
  • Android Studio: javadoc is empty on hover
  • How to get all friends name, id, birthday, location, etc.. from facebook API in android?
  • My app won't show up on the chooser dialog for android.intent.action.VIEW with mime type video/* only on Marshmallow
  • Is there any better way to fix it?

    Related posts:

    Android Studio stuck when creating new Project on Gradle: Configure Project or Gradle: Resolve Depen...
    How can I set exact, repeating alarms in Android 4.4?
    How to get a contact's number from contact name in android
    BUG: createWindowSurface failed EGL_BAD_ALLOC
    Crash on ListView.removeFooterView(View)
    Displaying modified live camera preview
  • How to check file extension in android
  • Action Bar icon as up enabled not the title
  • How to Draw something with your finger in an Android App… And save it to the web
  • CoordinatorLayout with Toolbar and fragment
  • running Android Studio on Windows 7 fails, no Android SDK found
  • Retrofit: server returns both ETag and Cache-Control: max-age=60. Shouldn't the cache be used if request < 60s?
  • 6 Solutions collect form web for “Gradle build-info.xml not found for module app in Android Studio”

    For me it happens on the Mac, but on Windows it works fine all the time. Ever since I updated Android Studio to version 2.0 beta, the issue was still present until official 2.0 Android Studio version.

    What helped was disabling Instant Run in Android Studio -> Preferences (search for “instant run” or) -> “Build, Execution, Deployment” -> Instant Run -> Enable Instant Run -> turn off

    run->clean and re-run the app. done my job.

    Try removing other gradle versions from studio.
    Let’s say you have gradle 2.10 running and also have 2.8 install, the gradle wrapper behaves unexpectedly in this case.
    Therefore we have to clean and rebuild every time.

    This works in mine case; hope in yours’ too. 🙂

    I modified the build.Gradle of project as:

    buildscript {
        repositories {
        dependencies {
            classpath ''
            // using 2.+ will solve the problem

    I experienced the same warning/error and learned that in my case it was caused by missing or incorrectly configured .idea files.

    More specifically, make sure your “gradleHome” in .idea/gradle.xml is pointing at the right location:


    <option name="gradleHome" value="C:\Program Files\Android\Android Studio Canary\gradle\gradle-2.10" />

    If the problem persists, ensure you app modules is correctly configured:


    <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />

    I had the same problem. In my case, I had to do File -> Settings -> Build, Execution, Deployment -> Compiler and then check Use in-process build.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.