Hi how are you? I have a strange issue. I can build the APK but on the end, I have this message:
ERROR: Job failed: exit status 1
It’s a bug from your script?
BUILD SUCCESSFUL in 5m 34s
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: 5489009
ERROR: Job failed: exit status 1
Same:
BUILD SUCCESSFUL in 1m 19s
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 xxxxxx success
Running after script…
$ run “clean-up”
Running Stage clean-up for Job: 5491272
ERROR: Job failed: exit status 1
Same here. I see Ionic devs are not helping. Did you resolve this? @mdessarzin @mikel24h
BUILD SUCCESSFUL in 4m 28s
47 actionable tasks: 47 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: 5502243
ERROR: Job failed: exit status 1```
@ehsanfeyzi No I have not found solution at the time. And absolutely no help or answer from the official support…
@mdessarzin I actually ended up finding a solution after posting this. I had to remove the android platform and then commit and push back to ionic pro and do another package and then it worked. Seems like a bug. Hope this helps
ionic cordova platform rm android
Same prob for me:
BUILD SUCCESSFUL in 4m 33s
47 actionable tasks: 47 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: 5506090
ERROR: Job failed: exit status 1
Even after removing the platform.
1 Like