Compile Ionic app for old version of Android

1

I made an app with ionic, and when uploading to the play store, it was enabled for androids > 4.1, but the app is very simple, practically only queries the database. Can anyone tell me if it has how to compile it for an earlier version of android ???

    
asked by anonymous 19.09.2016 / 15:00

1 answer

0

Enter the main project folder.

Go to the config.xml file. You will find these two lines:

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

In minSdkVersion you choose the minimum version number that is equivalent to the Android version.

In minSdkVersion you choose the maximum version number that is equivalent to the Android version.

In targetSdkVersion you choose the version number you want to compile the application.

To find out which number is on the site below and see the list:

link

Then just build again.

    
19.09.2016 / 15:09