0
I was converting to apk normally but stopped and started giving this error I looked already added the path c: windows system32 to the path and still was not, already reinstalled and everything else and still accuses the same problem, every time I give the command: Ionic Cordova run android.
Subproject Path: CordovaLib
Subproject Path: app
Running command: cmd "/s /c "C:\Users\pc\Downloads\IONIC\Backup\06-12-18\App\myApp\platforms\android\gradlew.bat cdvBuildDebug -b C:\Users\pc\Downloads\IONIC\Backup\06-12-18\App\myApp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m""
Command finished with error code ENOENT: cmd /s /c "C:\Users\pc\Downloads\IONIC\Backup\06-12-18\App\myApp\platforms\android\gradlew.bat cdvBuildDebug -b C:\Users\pc\Downloads\IONIC\Backup\06-12-18\App\myApp\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\pc\Downloads\IONIC\Backup\06-12-18\App\myApp\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at ChildProcess.emit (events.js:182:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
How are your environment variables configured? Could you provide us with a print ?
– user125721
Yes I can, I’ll put it up.
– user108760
JAVA_HOME
is with a;
before and has several other variables on the same line that should be divided, such as%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tolls
. I believe that every;
should be a different variable– edson alves