How to change the android build sdk target in


I have tried to set a different android SDK version.

Here are what I put in config.xml:

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

After running cordova prepare android

In the generated AndroidManifest.xml, I did get the right setting:

uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />

But in the in the andorid folder, I still get:


I need it to be


What should I put in config.xml to achieve this?


Ensure you have installed android-23 Platform
Run cordova platform update android@5.0.0 in your existing projects.




Did you finally success to change the android Target ? I am facing exactly the same problem.