📅  最后修改于: 2022-03-11 14:56:13.501000             🧑  作者: Mango
Add in build.gradle
apply plugin: 'idea'
idea {
module {
inheritOutputDirs = true
}
}
if it won't work(intellij idea), try:
1. go to settings
2. then to Build, Execution, Deployment -> Build Tools -> Gradle
3. change "Build and run using" to Intellij IDEA