SDK 43.0.0-beta.3 - android build failed ':app:checkDebugAarMetadata'

SDK Version: 43.0.0-beta.3
Platforms: android

expo diagnostics

  Expo CLI 4.12.1 environment info:
    System:
      OS: Windows 10 10.0.22000
    Binaries:
      Node: 14.18.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.15 - C:\Program Files\nodejs\yarn.CMD
      npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version     2020.3.0.0 AI-203.7717.56.2031.7678000
    npmPackages:
      expo: ^43.0.0-beta.3 => 43.0.0-beta.3
      react: 17.0.1 => 17.0.1
      react-dom: 17.0.1 => 17.0.1
      react-native: 0.64.2 => 0.64.2
      react-native-web: 0.17.1 => 0.17.1
    Expo Workflow: bare

Tried to upgrade from expo@42.0.4 to expo@43.0.0-beta.3

And now when I try to expo run:android receive this:

$ yarn android
yarn run v1.22.15
$ expo run:android
› Building app...
Configuration on demand is an incubating feature.

> Configure project :expo-structured-headers
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.

> Configure project :expo
Using expo modules
ù expo-analytics-amplitude (11.0.1)
ù expo-application (4.0.0)
ù expo-constants (12.1.0)
ù expo-device (4.0.1)
ù expo-error-recovery (3.0.1)
ù expo-file-system (13.0.1)
ù expo-font (10.0.1)
ù expo-json-utils (0.2.0)
ù expo-keep-awake (10.0.0)
ù expo-localization (11.0.0)
ù expo-manifests (0.2.1)
ù expo-modules-core (0.4.2)
ù expo-splash-screen (0.13.1)
ù expo-structured-headers (2.0.0)
ù expo-updates (0.10.2)

> Task :app:checkDebugAarMetadata FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple task action failures occurred:
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-dev-launcher\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-dev-menu\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-dev-menu-interface\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\@react-native-async-storage\async-storage\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\@react-native-community\masked-view\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\@sentry\react-native\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-adapty\lib\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-appmetrica\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-gesture-handler\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-pager-view\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-safe-area-context\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-screens\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-svg\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\react-native-webview\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-analytics-amplitude\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-application\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-constants\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-device\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-error-recovery\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-file-system\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-font\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-keep-awake\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-localization\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-splash-screen\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-updates\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-modules-core\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-structured-headers\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-manifests\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-updates-interface\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)
   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > F:\microgreen-planner\node_modules\expo-json-utils\android\build\intermediates\aar_metadata\debug\aar-metadata.properties (The system cannot find the path specified)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 14s
47 actionable tasks: 6 executed, 41 up-to-date
F:\microgreen-planner\android\gradlew.bat exited with non-zero code: 1
Error: F:\microgreen-planner\android\gradlew.bat exited with non-zero code: 1
    at ChildProcess.completionListener (C:\Users\Ciber\AppData\Roaming\nvm\v14.18.0\node_modules\expo-cli\node_modules\@expo\spawn-async\src\spawnAsync.ts:65:13)
    at Object.onceWrapper (events.js:520:26)
    at ChildProcess.emit (events.js:400:28)
    at ChildProcess.cp.emit (C:\Users\Ciber\AppData\Roaming\nvm\v14.18.0\node_modules\expo-cli\node_modules\cross-spawn\lib\enoent.js:34:29)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
    ...
    at spawnAsync (C:\Users\Ciber\AppData\Roaming\nvm\v14.18.0\node_modules\expo-cli\node_modules\@expo\spawn-async\src\spawnAsync.ts:26:19)
    at spawnGradleAsync (C:\Users\Ciber\AppData\Roaming\nvm\v14.18.0\node_modules\expo-cli\src\commands\run\android\spawnGradleAsync.ts:83:18)
    at assembleAsync (C:\Users\Ciber\AppData\Roaming\nvm\v14.18.0\node_modules\expo-cli\src\commands\run\android\spawnGradleAsync.ts:57:16)
    at actionAsync (C:\Users\Ciber\AppData\Roaming\nvm\v14.18.0\node_modules\expo-cli\src\commands\run\android\runAndroid.ts:143:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

“The system cannot find the path specified” so i checked those modules in node_modules for example node_modules\expo-dev-launcher\android\build\intermediates\aar_metadata\debug\aar-metadata.properties and for sure folder expo-dev-launcher/android/build not exist :upside_down_face:

That was yarn issue, might be windows 11 related, wasted 2 days on it(