Skip to content Skip to sidebar Skip to footer

Ionic Android Build Error: Cmd: Command Failed With Exit Code 1 [solution]

I'm new to coding and also Ionic, but here is a solution to an issue that I faced, with an explanation for my situation. I tried to ionic build android but it gave out an error mes

Solution 1:

I was having the same issue and fixed it by just removing platform and again adding the same one.

Remove Platform

$ cordova platform remove android

Add Platform

$ cordova platform add android

It works for me!

Solution 2:

just go to '/home/user/.gradle/wrapper/dists/**'**

delete everything inside of this

then build again.

Post a Comment for "Ionic Android Build Error: Cmd: Command Failed With Exit Code 1 [solution]"