0
저는 이온과 그 빌드를 처음 사용합니다. 나는 안드로이드에 대한 응용 프로그램을 빌드 할 때 나는 명령에 대한 오류 코드 1을 얻을 : 인수에 cmd를 :이오니아 빌드 오류 : 명령에 대한 오류 코드 1 : args가있는 cmd :
E:\Native\crunchyv3\app>ionic build android
Running command: "C:\Program Files\nodejs\node.exe"
E:\Native\crunchyv3\app\hooks\after_prepare\010_add_platform_class.js
E:\Native\crunchyv3\app
ANDROID_HOME=C:\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102\
FAILURE: Build failed with an exception.
* Where:
Build file 'E:\Native\crunchyv3\app\platforms\android\build.gradle' line: 22
* What went wrong:
A problem occurred evaluating root project 'android'.
> Failed to apply plugin [id 'android']
> Minimum supported Gradle version is 2.14.1. Current version is 2.2.1. If using the gradle wrapper, try editing the distributionUrl in
E:\Native\crunchyv3\app\gradle\wrapper\gradle-wrapper.properties to gradle-2.14.1-all.zip
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 12.134 secs
Error: Error code 1 for command: cmd with args: /s,/c,"E:\Native\crunchyv3\app\platforms\android\gradlew cdvBuildDebug -b
E:\Native\crunchyv3\app\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
내가 그물을 통해 오류를 검색하지만, 해결책을 찾을 수 없습니다. 나는 이온을 1.7.14로 다운 그레이드했지만 여전히 같은 문제를 시도했다. 제안이나 해결책이 있으십니까?
나는 그것을 시도 할 것이다. 왜 오류 코드 1입니까? –
@JayadevPrasad 일반적으로 코드 ** 1 **은 일반적인 오류에 대한 포괄적 인 내용입니다. –