Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Compile with different targertSDK?

  • How do I change the targetSDK of a compiled build? I have added minSDK, maxSDK, and tragetSDK to my config.xml, all with no success. Any help is appreciated…

  • Monaca

    How did you add the SDK configuration in config.xml file? Here is an example of how you should manually config the SDK settings:

        <!-- Add them as preference elements -->
        <preference name="android-minSdkVersion" value="10" />
        <preference name="android-maxSdkVersion" value="22" />
        <preference name="android-targetSdkVersion" value="21" />
        <!-- Or you can use a config-file element for them -->
        <config-file target="AndroidManifest.xml" parent="/*">
            <uses-sdk android:maxSdkVersion="22" android:minSdkVersion="10" android:targetSdkVersion="21" />