title: Cannot use strings of resource file in Cordova Android Plugin
body: <p>I have created a custom plugin for cordova android and I want to use a resource-file. Therefore I have added the following tag to the plugin
  <code>&lt;resource-file src="src/android/res/values/strings.xml" target="res/values/strings.xml" /&gt;</code></p>
  
  <p>However, this will lead to the following error when building for android:</p>
  
  <blockquote>
    <p>TypeError: Cannot set property 'text' of null
        at android_parser.update_from_config (C:\Users\Matthias\AppData\Roaming\npm\
    node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parse
    r.js:209:51) 
    ERROR running one or more of the platforms: TypeError: Cannot set property 'text' of null</p>
  </blockquote>
  
  <p>The build is succesful when I remove the resource-file tag from <em>plugin.xml</em>. Nevertheless, I need those strings.</p>
  
  <p>Does anyone know any solution or alternative to fix this problem? I found a similar problem here, unfortunately without any solution documented:</p>
  
  <p><a href="https://stackoverflow.com/questions/24649344/phonegap-build-android-not-able-to-build">phonegap build android; not able to build</a></p>
  
  <p>Thanks.</p>