Disabling configure on demand requires two steps:

  1. Remove org.gradle.configureondemand from gradle.properties.

  2. In Android Studio,
    For Mac go to the Preferences > Build, Execution, Deployment > Compiler and uncheck the configure on demand.
    For Linux/Windows go to the File > Settings > Build, Execution, Deployment > Compiler and uncheck the configure on demand.

Note, there are 2 gradle.properties files

    1. In your project gradle.properties
    2. ${HOME}/.gradle/gradle.properties

相关文章:

  • 2021-08-17
  • 2021-06-21
  • 2021-09-22
  • 2021-07-18
  • 2021-08-25
猜你喜欢
  • 2021-12-26
  • 2021-09-09
  • 2021-12-18
  • 2021-11-09
  • 2021-09-22
  • 2022-01-13
  • 2021-12-27
相关资源
相似解决方案