리액트 네이티브 컴파일 에러

RN 초보 입니다.

react-native-cli 개발 환경 설정을 완료한 후

npx react-native init test1
cd test1
npx react-native run-android

자동 생성된 프로젝트를 수정없이 위 명령을 실행하면 아래의 에러가 나옵니다.


Task :app:compressDebugAssets FAILED
15 actionable tasks: 15 executed

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:compressDebugAssets’.

A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction
E:\React\test1\android\app\build\intermediates\merged_assets\debug\out

  • 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

BUILD FAILED in 59s

error Failed to install the app. Make sure you have the Android development environment set up: Setting up the development environment · React Native.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:compressDebugAssets’.

A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction
E:\React\test1\android\app\build\intermediates\merged_assets\debug\out

  • 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

BUILD FAILED in 59s

at makeError (E:\React\test1\node_modules\execa\index.js:174:9)
at E:\React\test1\node_modules\execa\index.js:278:16    at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async runOnAllDevices (E:\React\test1\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)

아무것도 손댄게 없는데 왜 에러가 나올까요?

개발환경 설정이 잘못된 걸까요?

도움 부탁합니다.