Android Studio Kotlin Compiler Warning

I found a warning in the Kotlin compiler settings

The following modules override project settings: application

enter image description here

The project compiles and works perfectly, but can this warning affect the future? And how to solve it.

Thanks in advance.

+7
source share
1 answer

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> 
+2
source

Source: https://habr.com/ru/post/1271533/


All Articles