java.lang.IllegalStateException: Unable to determine list of modules to build

tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rafael . Or join the community to write better ones.
  1. 0

    IllegalStateException in Android Support when executing Unit Tests

    Stack Overflow | 2 months ago | Wouter Vanherck
    java.lang.IllegalStateException: Unable to determine list of modules to build
  2. 0

    How to debug custom lint detector

    Stack Overflow | 3 months ago | hibob
    com.intellij.openapi.diagnostic.Logger$EmptyThrowable
  3. 0
    samebug tip
    Failed to disconnect from MessageBusConnection. Either create the connection using a disposable, or disconnect manually.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Try using intelliJ with JDK 8
    via GitHub by lordigon

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to determine list of modules to build

      at com.android.tools.idea.gradle.run.MakeBeforeRunTaskProvider.createBuilder()
    2. com.android.tools
      MakeBeforeRunTaskProvider.executeTask
      1. com.android.tools.idea.gradle.run.MakeBeforeRunTaskProvider.createBuilder(MakeBeforeRunTaskProvider.java:357)
      2. com.android.tools.idea.gradle.run.MakeBeforeRunTaskProvider.executeTask(MakeBeforeRunTaskProvider.java:255)
      3. com.android.tools.idea.gradle.run.MakeBeforeRunTaskProvider.executeTask(MakeBeforeRunTaskProvider.java:86)
      3 frames
    3. IDEA
      ApplicationImpl$8.run
      1. com.intellij.execution.impl.ExecutionManagerImpl$3.run(ExecutionManagerImpl.java:317)
      2. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames