Problem installing apk on certain computers

2

I'm working with Ionic 3 when I created the apk I had the following problem that could only be installed on Android 8 and 7.1 in the lower versions as 7.0 down could not install I get the following error.

What I tried to solve without success was the following install android 4.1.2 that comes to do the SDK 16 which you specify in the config.xml file

<preference name="android-minSdkVersion" value="16" />
<preference name="android-targetSdkVersion" value="16" />
<preference name="android-maxSdkVersion" value="16" />

I compiled (buil) ionic cordova build android I created the apk supposedly so that it can be installed from Android 4.1.2 up but does not install on computers that have Android 7.0 only install from 7.1 up.

Running this command ionic cordova platform ls I get the following.

With the configuration that I made in the config.xml I thought that it could be the solution but it was not like that, what can I do to solve it?

Greetings!

    
asked by Pedro Ávila 23.07.2018 в 02:41
source

1 answer

0

The problem I had was solved by changing the name of the id that was with capital letter apparently everything must be in lowercase.

widget id="io.ionic.starter"

That was the whole problem, I also had to change the android version to be able to install from 6.1.1 forward.

    
answered by 23.07.2018 / 21:24
source