Join Slack
Powered by
Your package statement must match the location of ...
# getting-started
d
diesieben07
04/11/2018, 9:27 AM
Your package statement must match the location of the file. If your package is "com.example.app" then your class files must be located at "com/example/app/MyClass.class" (same is recommended for .kt files).
s
spand
04/11/2018, 9:32 AM
Same is not recommended for Kotlin:
https://kotlinlang.org/docs/reference/coding-conventions.html#source-code-organization
d
diesieben07
04/11/2018, 9:33 AM
True, thanks for that information
Open in Slack
Previous
Next