Type mismatch: inferred type is String? but String was expected
Opened this issue · 0 comments
opensourcecheemsburgers commented
This error occurs on any new cargo tauri android init
. This is because one of the dependencies requires compileSdkVersion = 35
. Switching to the new version causes this error.
WryActivity.kt:43:24 Type mismatch: inferred type is String? but String was expected
WryActivity.kt:51:24 Type mismatch: inferred type is String? but String was expected
This can be fixed by using .toString()
, but it gets overwritten on each recompile.