react-native-community/react-native-template-typescript

Android app will not run after default init

rplotkin opened this issue · 1 comments

Expected results

Android app should run

Observed results

Run npx react-native init AwesomeTSProject --template react-native-template-typescript
Run npx react-native run-android

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple build operations failed.
      java.nio.file.NoSuchFileException: .gradle/caches/transforms-3/3302d76293b56b0e47a80628605fe992/results.bin

Logs

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple build operations failed.
      java.nio.file.NoSuchFileException: .gradle/caches/transforms-3/3302d76293b56b0e47a80628605fe992/results.bin

Steps to reproduce

  1. Run npx react-native init AwesomeTSProject --template react-native-template-typescript
  2. Run npx react-native run-android

Nope, this was corrrupted .gradle at the root. Not an issue.