Я попытался создать новый выставочный проект с похожим файлом зависимостей/package.json. (nativewind, expo-router,....) и всё работает нормально. Поэтому я думаю, что моя установка Android Studio работает.
Команда сборки eas build --platform android --profile review --local
Я получаю ошибку
Код: Выделить всё
[RUN_GRADLEW] Starting a Gradle Daemon (subsequent builds will be faster)
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Could not open settings generic class cache for settings file '/private/var/folders/fz/vmy1tl710s5__w3csgqd49t40000gp/T/eas-build-local-nodejs/609de72a-df60-4fb8-9296-c0af850bf3d4/build/android/settings.gradle' (/Users/adm/.gradle/caches/8.0.1/scripts/arlfm39hu840rj11qgqf3tuor).
[RUN_GRADLEW] > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with
[RUN_GRADLEW] --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] >
[RUN_GRADLEW] Run with --scan to get full insights.
[RUN_GRADLEW] * Get more help at https://help.gradle.org
[RUN_GRADLEW] BUILD FAILED
[RUN_GRADLEW] in 37s
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
Код: Выделить всё
> Resource compilation failed (Failed to compile values resource file /Users/adm/learn23/star/android/app/build/intermediates/incremental/release/mergeReleaseResources/merged.dir/values/values.xml. Cause: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@66d999cd.,Can not extract resource from com.android.aaptcompiler.ParsedResource@48822ade.). Check logs for more details.
> Failed to compile values resource file /Users/adm/learn23/star/android/app/build/intermediates/incremental/release/mergeReleaseResources/merged.dir/values/values.xml
> Can not extract resource from com.android.aaptcompiler.ParsedResource@66d999cd.,Can not extract resource from com.android.aaptcompiler.ParsedResource@48822ade.
Код: Выделить всё
[RUN_GRADLEW] /Users/adm/.gradle/caches/transforms-3/7afdb9c874b781c7e99aca63d43fa0e1/transformed/appcompat-1.4.1/res/values/values.xml:63:4: Invalid for given resource value.
Код: Выделить всё
#ff5a595b // line 26 this is ok
#ffd6d7d7 //line 27 This fails
...
#24000000 // line 63 fails
Весь файл Values.xml находится по адресу https://gist.github. com/exoer/389e3e0d5958e9cb0ba0854f63a29abf
Подробнее здесь: https://stackoverflow.com/questions/776 ... or-android
Мобильная версия