Ionic Pro Clean-up failed


#1

Ionic pro is able to build the app but it is failing in the clean-up. I have tried several times but it keeps showing the same error:

BUILD SUCCESSFUL in 1m 47s
46 actionable tasks: 46 executed
Built the following apk(s): 
	/usr/src/app/platforms/android/app/build/outputs/apk/debug/app-debug.apk
$ cordova build android success
Running after script...
$ run "clean-up"
Running Stage clean-up for Job: 5348683
ERROR: Job failed: exit status 1

#2

I am having the same issue. Android 7.0.0.


#3

I got same issue, how the clean-up fail?, There is a way to watch more logs about that


#4

Im getting the same issue. Building for release locally works but building for android in Ionic Pro fails.


#5

Hi @beleriand did you find a solution for this?
It seems I am having the same issues…


#6

Hi all, I have the same issue.

Has anyone solved it?


#7

Hi all,

I think the issue was there was an android platform already in my app.

I ran this command and it solved the problem:

ionic cordova platform remove android

Hope this helps someone.


#8

@seanflood747 Removing the android platform worked for me too. Very odd.