Upload Server down?

Hello everyone,

i cannot build an android apk for 2 days. I did not change anything of my sourcecode.

When i try to build or try to create resources i get this error:

HTTP Error 503: POST https://res.ionic.io/api/v1/upload

Trying update the ionic cli leads to several other problems.

Will the server get online again?

npm uninstall -g ionic
npm install -g @ionic/cli

Thank you for your answer.

Updating to @ionic/cli does not work, because i have to install node 10.x – by updating node, many other things in my project did not work anymore.

It should work something wrong in your project dependencies

If i update ionic cli, i get a app-debug.apk – but i used to get a android-debug.apk.

So, native-run is not able to run:

BUILD SUCCESSFUL

Total time: 5.597 secs

Built the following apk(s):

C:/XXX/platforms/android/build/outputs/apk/android-debug.apk

native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-debug.apk --device

[native-run] Selected hardware device OUKITELK13Pro002121

[native-run] Error: ENOENT: no such file or directory, open ‘C:\XXX\platforms\android\app\build\outputs\apk\debug\app-debug.apk’

[ERROR] An error occurred while running subprocess native-run.

native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-d… exited with exit code 1.

Re-running this command with the --verbose flag may provide more information.

My Ionic environment:

Ionic:

Ionic CLI : 6.4.0 (C:\Users\YYY\AppData\Roaming\npm\node_modules@ionic\cli)

Ionic Framework : ionic-angular 3.9.8

@ionic/app-scripts : 3.2.4

Cordova:

Cordova CLI : 7.1.0

Cordova Platforms : android 6.3.0, browser 5.0.4

Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.5.1, (and 24 other plugins)

Utility:

cordova-res : not installed

native-run : 0.2.8

System:

Android SDK Tools : 26.1.1 (C:\Users\YYY\AppData\Local\Android\Sdk)

NodeJS : v12.18.1 (C:\Program Files\nodejs\node.exe)

npm : 6.14.5

OS : Windows 10

image001.jpg

First of all dont create app in c Drive that is system drive and will ask for special permission invoke any method
Please move your project in other than system drive
Also i noticed you have not yet installed cordova-res please install it
npm i -g cordova-res

  • I moved the project to desktop
  • I updatend node to 12.18.1
  • I updated Ionic to ionic/cli@6.4.0 (like recommanded in another thread)
  • I installed cordova-res and added android platform 6.4.0 again
  • I installed cordova-res (cordova-res --ver -> 0.15.1 7 ionic info: cordova-res: not installed?)

Result:
Adding Platform Android 6.4.0 without error
Build android apk without error
Output: (C:\Users\XXX\Desktop\XXX\platforms\android\build\outputs\apk\debug)

but:

.

Now it worked with the command:
“ionic cordova run android --no-native-run”

Thanks to indraraj26!