Ionic 3 not init

#1

Hello.

I have to run some programs made in Ionic 3 in a Chinese mobile POS handheld to read cards, it has Android 5.1.

The problem is that when starting the Ionic application, it shows the splash screen and does not start. I have tried generating a simple application in Ionic 3 and it does the same, it does not start.

Has anyone had any similar experience or could you give me a guide that may be happening?

My Ionic info is

cli packages: (C:\Users\HP\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 7.0.1

local packages:
@ionic/app-scripts : 3.1.10
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.9.2

System:
Node : v8.5.0
npm : 5.3.0
OS : Windows 10

Thank you.

#2

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

Can you run any apps on that device?
Can you start a super simple app with Android Studio and run that one?

#3

Hello Sujan12

Can you run any apps on that device?
Can you start a super simple app with Android Studio and run that one?
Yes, I can run other apps build with Android Studio.

I’m going to update the app and try again.

Thank you for you answer.

#4

Hello

I have updated all the libraries, but it still does not work on the POS device.
Try to start the application, it goes out and shows nothing.

I build simple app in Android Studio and function good, but app Ionic no.

Now my Ionic Info is:

cli packages: (C:\Users\HP\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 7.1.0

local packages:
@ionic/app-scripts : 3.1.10
Cordova Platforms : android 7.1.0
Ionic Framework : ionic-angular 3.9.2

System:
Node : v8.5.0
npm : 5.3.0
OS : Windows 10

Thank for help.

#5

Did you remote debug the problem on the device already? 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.

#6

Hi, the problem is that the windows does not recognize the device via USB, so now I’m looking to achieve that and then how to debug from chrome I’ve always applied it and I know it.

When I can to enable the debug mode I can know the problem for which Ionic does not work or start.

Thanks for your time and your help.