A build operation failed.
Could not create task ':app:compileDebugAndroidTestJavaWithJavac'.
Could not create task ':app:compileDebugAndroidTestJavaWithJavac'.
Failed to calculate the value of task ':app:compileDebugAndroidTestJavaWithJavac' property 'javaCompiler'.
Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=ADOPTIUM, implementation=vendor-specific} for MAC_OS on aarch64.
No locally installed toolchains match and toolchain download repositories have not been configured.
При попытке создать приложение я получаю следующее сообщение об ошибке. [code]A build operation failed. Could not create task ':app:compileDebugAndroidTestJavaWithJavac'. Could not create task ':app:compileDebugAndroidTestJavaWithJavac'. Failed to calculate the value of task ':app:compileDebugAndroidTestJavaWithJavac' property 'javaCompiler'. Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=ADOPTIUM, implementation=vendor-specific} for MAC_OS on aarch64. No locally installed toolchains match and toolchain download repositories have not been configured. [/code] В моем build.gradle есть следующий код: [code]compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } java { toolchain { languageVersion = JavaLanguageVersion.of(17) vendor = JvmVendorSpec.ADOPTIUM // Or use JvmVendorSpec.TEMURIN } } [/code] Проверка терминала. У меня новейшая версия Java: версия openjdk «17.0.13» 15 октября 2024 г.