mhartington / cordova-config-utils

32 stars 5 forks source link

Require to add android: namespace in config.xml #16

Open xserna opened 8 years ago

xserna commented 8 years ago

Hi,

after some troubles trying to fix why, after adding block with some android: properties, there is a build error: AAPT: Error parsing XML: unbound prefix I've remember that no new namespace was added, so, for those trying to have this working, be sure to add the right namespace to your widget tag in config.xml:

From: https://github.com/dpa99c/cordova-custom-config/blob/master/README.md

**Important: In order to user the android: namespace in preferences within your config.xml, you must include the android namespace attribute on the root element. The namespace attribute fragment is:

xmlns:android="http://schemas.android.com/apk/res/android"**