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"

댓글

이 블로그의 인기 게시물

삼성 Galaxy Gear Circle 사용기

[Settings] Android SDK 설치 후 환경 변수 설정하기

Webpack copy-webpack-plugin ignore 사용할 때 주의 점(Important point when using the option "ignore" of the "copy-webpack-plugin")