Cordova로 개발하며 겪는 여러 문제 해결 방법(Some solutions when you developing Cordova Hybrid App.)

Cordova로 개발하며 겪는 여러 문제 해결 방법(Some solutions when you developing Cordova Hybrid App.)

2. Build 단계

1.1 [macOS] cordova build android

- 문제

-- Access Denied(__Error: spawn EACCES__)

Running command: ./platforms/android/gradlew cdvBuildDebug -b ./platforms/android/build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m -Pandroid.useDeprecatedNdk=true
(node:8974) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCE
(node:8974) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

- 해결방법


$ sudo chmod +x "./platforms/android/gradlew"

댓글

이 블로그의 인기 게시물

Next.js에서 자연스러운 Page Transition 방법

[flutter] Android - Package간 sdk version 등이 맞지 않아 오류가 발생하는 경우

[Windows] Chocolatey upgrade