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

[AdvancedStateAndSideEffectsCodelab] Cannot build project #481

Open
tigerlily777 opened this issue Jul 24, 2024 · 0 comments
Open

[AdvancedStateAndSideEffectsCodelab] Cannot build project #481

tigerlily777 opened this issue Jul 24, 2024 · 0 comments
Assignees

Comments

@tigerlily777
Copy link

.../AdvancedStateAndSideEffectsCodelab/app/src/main/java/androidx/compose/samples/crane/details/DetailsActivity.kt:159:29
None of the following candidates is applicable:
suspend fun MapFragment.awaitMap(): GoogleMap
suspend fun MapView.awaitMap(): GoogleMap
suspend fun SupportMapFragment.awaitMap(): GoogleMap

.../AdvancedStateAndSideEffectsCodelab/app/src/main/java/androidx/compose/samples/crane/details/DetailsActivity.kt:160:19 Cannot inline bytecode built with JVM target 17 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option.

I assume the dependencies lib below is built with JVM target 17?
implementation "com.google.android.libraries.maps:maps:3.1.0-beta"
Do we have an updated lib that built with 18?

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

2 participants