Main.kt looking for RootView() but mine is named AppRootView! #189
Answered
by
marcprux
davidakoontz
asked this question in
Q&A
-
I renamed my RootView to AppRootView but it looks like it's hardcoded somewhere: |
Beta Was this translation helpful? Give feedback.
Answered by
marcprux
Aug 16, 2024
Replies: 2 comments
-
OK - seems one CANNOT do this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The root view created by the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marcprux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The root view created by the
skip init
command isModuleNameRootView
, and this is referenced by thesrc/main/kotlin/packagename/Main.kt
file. If you were to change the root view name (which we don't recommend), you should just be able to manually update theMain.kt
shim to reference the new name.