Android-release.apk does not exist


#1

Hello. I can not build APKs with Ionic Pro today.

[08:58:14]: Successfully built android app
[08:58:14]: --- Step: upload_apk ---
[08:58:14]: ▸ The user-provided path platforms/android/build/outputs/apk/release/android-release.apk does not exist.
[08:58:14]: Shell command exited with exit status 255 instead of 0.
The user-provided path platforms/android/build/outputs/apk/release/android-release.apk does not exist. 

fastlane summary
💥 | upload_apk

#2

I think you have to update cordova android to version ~7.1.4 + I installed the gradle support plugin:

ionic cordova plugin add cordova-android-support-gradle-release

#3

No. I think it was a temporary problem. The package has been built again after a time. Works now.


#4

I’m having the exact same problem, did anyone find a solution?

EDIT My problem was that ionic cordova resources failed (for some reason) and I was trying to package an incomplete app. The error did not said that anywhere


#5

Same here. How did you fix it exactly? If the error was not shown, where did you apply the ionic cordova resources instruction? As I use ionic Pro, I can only click a button.


#6

I just ran the command before pushing the repo to Ionic Pro. Maybe your error is caused by other reason :thinking: