Can't install debug apk


#1

Im usign ionic cordova build android en generate arm7 and x8 debug apk but can not installed on my device
Gradle 3.4.1… im downloadig 4.4.1 for try
cli packages: (/usr/lib/node_modules)

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

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v8.11.1
npm               : 4.6.1 
OS                : Linux 4.4

Environment Variables:

ANDROID_HOME : /home/freddyjose/Android/Sdk

Misc:

backend : pro

#2

What does that mean? Error message?

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


#3

Dont work, iam update but nothing change, i can buil tha apk bot when i test on a 4.2.2 device dont work.
I has builds apk and upload to play store, but i re install all my dev tools and linux system then this hap


#4

Post your updated ionic info output please to confirm the updates worked.

Also: Are you sure Android 4.2.2 is supported by Ionic and Cordova-Android?


#5

Well yes, i have installed varios with ionic 3 and Crosswalk Lite on my 4.2.2 tablet device


#6

There is something wrong with your Cordova Android platform, it should list the version as well.


#7

SOLVED! I downgrade to ionic cli 3.9.2,by deafult is minSDK 16


#8

That is really funny as the Ionic CLI has absolutely no connection to Cordova or the minSDK. So my guess this is pure coincidence of something else you did.

But good for you of course.