Skip to content

[Bug]: Platform-samples won't find the java toolchain #72

Closed
@FerdinandoPH

Description

@FerdinandoPH

Is there an existing issue for this?

  • I have searched the existing issues

In which area is the issue?

General

In a specific sample?

No response

What happened?

I have followed the instructions for running the platform-samples project, but Android Studio says that there is no vaild java toolchain. I have tried everything I could think of, but to no avail (foojay resolver appears won't work because it is "duplicated" somewhere in the code). Where can I find said toolchain and where should I place it for gradle to find it. I have a windows 11 pc

Relevant logcat output

A problem occurred configuring root project 'Platform Samples'.
> Could not determine the dependencies of null.
   > Could not resolve all dependencies for configuration ':classpath'.
      > Failed to calculate the value of task ':build-logic:compileJava' property 'javaCompiler'.
         > No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific}.
            > No locally installed toolchains match (see https://docs.gradle.org/8.1/userguide/toolchains.html#sec:auto_detection) and toolchain download repositories have not been configured (see https://docs.gradle.org/8.1/userguide/toolchains.html#sub:download_repositories).

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

StalebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions