Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type mismatch: inferred type is String? but String was expected #12044

Open
opensourcecheemsburgers opened this issue Dec 24, 2024 · 0 comments

Comments

@opensourcecheemsburgers
Copy link

opensourcecheemsburgers commented Dec 24, 2024

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.

@amrbashir amrbashir transferred this issue from tauri-apps/create-tauri-app Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant