Error when building and signing for release


Hello everyone!

I am facing a strange problem while trying to release my app.
Build goes fine also apk signing.
I try my apk on my android device and it shows a strange error:

deviceready has not fired after 5 seconds. cordova.js:1223

Please any help because I have been struggling a lot with this issue.

Thanks in advance!


Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: Look at the console and network tabs for errors.


yes I did and I already mentioned the error


How did you build your app?


ionic build android --release

while building there is not any error


ohhh also something else.
at network cannot get
this used to happened also in debug mode but app works perfect


Add --prod here at the end to optimize the build for production.


may this fix the error


It is the correct way to deploy an app, so maybe. It makes the app start much faster, so the “5 seconds” threshold should not be hit any more. It also shows if there are any deeper problems with your app/code.


6 posts were split to a new topic: Errror: Failed to load resource : url

Errror: Failed to load resource : url
Errror: Failed to load resource : url