Open ProjectFolder/app/app.iml and edit the next node, changing useProjectSettings to true.
<facet type="kotlin-language" name="Kotlin"> <configuration version="3" platform="JVM 1.6" useProjectSettings="true"> <compilerSettings /> <compilerArguments> <option name="destination" value="$MODULE_DIR$/build/tmp/kotlin-classes/debug" /> <option name="noStdlib" value="true" /> <option name="noReflect" value="true" /> <option name="moduleName" value="app_debug" /> <option name="addCompilerBuiltIns" value="true" /> <option name="loadBuiltInsFromDependencies" value="true" /> <option name="languageVersion" value="1.2" /> <option name="apiVersion" value="1.2" /> ... </compilerArguments> </configuration> </facet>
source share