-
Notifications
You must be signed in to change notification settings - Fork 349
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
fix task compileBenchmarkReleaseKotlin #195
base: main
Are you sure you want to change the base?
fix task compileBenchmarkReleaseKotlin #195
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Thanks for your comment. The Compose Runtime should not be needed for the sample, and I suspect the reason you're getting this message is because perhaps you've imported the root directory (tv-samples) instead of a specific sample inside a directory of the repository. If you try to import the Jetstream sample within tv-samples (i.e. in Android Studio, select File > New > Import Sample, then navigate into |
Hi,
|
Hello everyone,
I’m currently learning Kotlin and still quite new to it.
I’m working on Windows 11 with Android Studio (version Ladybug | 2024.2.1 Patch 3) and trying to compile the JetStreamCompose project. However, I encounter the following error in the task compileBenchmarkReleaseKotlin:
The Compose Compiler requires the Compose Runtime to be on the class path, but none could be found. The compose compiler plugin you are using (version 1.5.14) expects a minimum runtime version of 1.0.0.
When I add back the dependency androidx.compose.runtime:runtime, which was removed in Pull Request 40caf7d, the project works fine again. However, I’m unsure if this is the correct approach.
Additionally, I noticed that the JetStreamCompose project does not appear as a sample in Android Studio, as described in this article.
What could be the reason for this?