Ionic v1 app not running well on android device

#1

Good day developers!

Im having issue with my ionic v1 app running on mobile device. When i run it through the browser all is well and working smoothly. But when I try to run in on my android device ionic cordova run android, it will successfully launch the app. When the app started to launch on my device it doesnt show the splashscreen and the homepage will get stuck. Please help me because this app is my thesis study.

Here’s my ionic info:

1 2

inside my project.properties

target=android-25
android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:24.1.1+

build output:
3

#2

Remove thr platform and add it again

ionic cordova platform rm android
ionic cordova platform add android

Then, run it with livereload

ionic cordova run android --device --livereload

#3

Your Cordova Android platform is pretty outdated.
Your Cordova tooling seems to be out of date, which might be causing all kinds of problems.
You can read about how to figure out the current Cordova versions and how to update CLI, platforms and plugins here: https://ionic.zone/cordova/update

#4

YES because when ionic cli 4.x came out the more the problem i have. Thats why I downgraded it back to 3.20.0 and everything goes well. But idk whats happening now

#5

Ionic CLI doesn’t have anything to do with your Cordova dependencies.

Did you remote debug the problem on the device already?
Follow these instructions here to debug the problem in Safari dev tools:
https://ionic.zone/debug/remote-debug-your-app#ios
Follow these instructions here to debug the problem in Chrome dev tools:
https://ionic.zone/debug/remote-debug-your-app#android
Look at the console and network tabs for errors.