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.
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"
댓글
댓글 쓰기