Android: Build failed during cleanup


#1

I’ve tried a few times to build an android app and the job log seems to run fine up until the cleanup phase (which fails). Here are the last few lines:

BUILD SUCCESSFUL in 1m 4s
47 actionable tasks: 47 executed
Built the following apk(s):
           /usr/src/app/platforms/android/app/build/outputs/apk/release/app-release.apk
$ cordova build android --release -- --keystore=android.keystore --storePassword=***** --alias=x --password=*** success
Running after script...
$ run "clean-up" Running Stage clean-up for Job: 5510849
ERROR: Job failed: exit status 1

#2

I was having this issue and seems android 7.0 not fully supported by ionic pro try this here