아이C? RN은 왜 앱 빌드에 실패합니까 ?

Durumi Gim·2021년 5월 2일

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:installDebug'.
> java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_INSUFFICIENT_STORAGE

* 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 14s

    at makeError (C:\Users\durumi\Desktop\wecode\Please\node_modules\execa\index.js:174:9)
    at C:\Users\durumi\Desktop\wecode\Please\node_modules\execa\index.js:278:16
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async runOnAllDevices (C:\Users\durumi\Desktop\wecode\Please\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
    at async Command.handleAction (C:\Users\durumi\Desktop\wecode\Please\node_modules\@react-native-community\cli\build\index.js:186:9)
info Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Please@0.0.1 android: `react-native run-android`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Please@0.0.1 android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\durumi\AppData\Roaming\npm-cache\_logs\2021-05-02T11_05_34_248Z-debug.log
PS C:\Users\durumi\Desktop\wecode\Please>

솔루션 1 : 안드로이드 가상 디바이스의 메모리 이슈다!

  • 안드 가상디바이스 종료

  • 가상디바이스 선택 메뉴에서 해당 디바이스의 맨 마지막 Action 메뉴로 이동

  • 화살표를 클릭시 나타나는 'Wipe Data'클릭

  • 남은 공간이 없기 때문에,

profile
마음도 몸도 튼튼한 개발자

0개의 댓글