I currently have another issue which I do not understand completely: When using arrayOf I get an error during compilation (not in the IDE (Android-Studio), but in Gradle (Task appcompileDebugKotlin)).
The error is: Couldn't inline method call 'arrayOf' into [...] (where [...] is the whole source-code of the method where the arrayOf-function is being called.