Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

getString won't resolve for me #36

Open
jkurtw opened this issue Apr 19, 2021 · 0 comments
Open

getString won't resolve for me #36

jkurtw opened this issue Apr 19, 2021 · 0 comments

Comments

@jkurtw
Copy link

jkurtw commented Apr 19, 2021

On the step 8. SplitInstallManager listener the following code is added:
private val moduleKotlin by lazy { getString(R.string.module_feature_kotlin) }
private val moduleJava by lazy { getString(R.string.module_feature_java) }
private val moduleNative by lazy { getString(R.string.module_native) }
private val moduleAssets by lazy { getString(R.string.module_assets) }

However, getString is not happy for me. I tried a few different automatic fixes via option+enter, but none worked. I ended up just replacing this code with strings:
private val moduleKotlin = "module_feature_kotlin"
private val moduleJava = "module_feature_java"
private val moduleNative = "module_native"
private val moduleAssets = "module_assets"

I looked at the imports in the solution and don't see what I'm missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant