从ionic3项目构建android apk时出错

时间:2020-01-27 19:01:40

标签: ionic-framework apk

我试图从我的离子代码中构建apk,但是每次运行它时,都会引发如下所示的错误

Subproject Path: CordovaLib
Subproject Path: app
Running command: cmd "/s /c "C:\Users\G_BEN\Desktop\logi\platforms\android\gradlew.bat cdvBuildDebug 
-b C:\Users\G_BEN\Desktop\logi\platforms\android\build.gradle -Dorg.gradle.daemon=true - Dorg.gradle.jvmargs=-Xmx2048m""
Command finished with error code ENOENT: cmd /s /c 
"C:\Users\G_BEN\Desktop\logi\platforms\android\gradlew.bat cdvBuildDebug -b 
C:\Users\G_BEN\Desktop\logi\platforms\android\build.gradle -Dorg.gradle.daemon=true - 
Dorg.gradle.jvmargs=-Xmx2048m"
cmd: Command failed with exit code ENOENT
Error: cmd: Command failed with exit code ENOENT
at ChildProcess.whenDone (C:\Users\G_BEN\Desktop\logi\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at ChildProcess.emit (events.js:198:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)

0 个答案:

没有答案