[Solved] Android Version

Hello, How do I change the Android version that phonegap is compiling for?
At PhoneGap I See: PhoneGap (iOS / Android / Windows) cli-6.5.0 (4.3.1 / 6.1.2 / 4.4.3)
But when I open it on my phone I get a message that this app is for na old android version and may not work propperly

thanks

Alexandre Fernandes

In Project Properties, in the PhoneGap section, there is Version property. The latest version is cli-8.0.0.

When you change the PhoneGap version, you may need to make other changes to your project - PhoneGap’s requirements change.

Try but this in config.xml:

<preference name="android-minSdkVersion" value="14" />
<preference name="android-maxSdkVersion" value="28" />
<preference name="android-targetSdkVersion" value="26" />

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.