Please help me, how to add the android platform api 16 to project ?

13 views
Skip to first unread message

khanhnguyen nguyen

unread,
Jun 18, 2014, 11:02:27 PM6/18/14
to phon...@googlegroups.com
I'm using cordova 3.5.0 version and android sdk Revision 22.6.4 (June 2014) to create android project , but i don't know, how to choose android platform api to add to project ? pls help me
At now, default api 19 will be added to project. But my device running with api 16. Thus, there are code do not run.

Ben Atack

unread,
Jun 19, 2014, 9:59:57 AM6/19/14
to phon...@googlegroups.com
it is in your config.xml file:
<preference name="android-minSdkVersion" value="15"/>
<preference name="android-maxSdkVersion" value="19"/>

Rob Schneider

unread,
Jun 19, 2014, 10:21:58 AM6/19/14
to phon...@googlegroups.com
I believe that's handled by a setting in the AndroidManifest.xml file, which lives in the platforms/android folder.   Change the "19" to a "16":


 <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
Reply all
Reply to author
Forward
0 new messages