GiovanniBattista commented on issue #201:
URL: https://github.com/apache/cordova-common/issues/201#issuecomment-1674237908

   I may have spoken too soon. The guard condition in `registerConflict` only 
leads to another error further down the road:
   ```
   Failed to install 'uq-cordova-plugin-settings': TypeError: Cannot read 
properties of undefined (reading 'charAt')
       at SAXParser.write (D:\CordovaApp\node_modules\sax\lib\sax.js:986:17)
       at XMLParser.feed 
(D:\CordovaApp\node_modules\elementtree\lib\parsers\sax.js:48:15)
       at ElementTree.parse 
(D:\CordovaApp\node_modules\elementtree\lib\elementtree.js:271:10)
       at exports.XML 
(D:\CordovaApp\node_modules\elementtree\lib\elementtree.js:606:13)
       at ConfigFile.prune_child 
(D:\CordovaApp\node_modules\cordova-common\src\ConfigChanges\ConfigFile.js:135:46)
       at PlatformMunger.apply_file_munge 
(D:\CordovaApp\node_modules\cordova-common\src\ConfigChanges\ConfigChanges.js:76:43)
  
       at PlatformMunger._munge_helper 
(D:\CordovaApp\node_modules\cordova-common\src\ConfigChanges\ConfigChanges.js:173:18)
    
       at PlatformMunger.add_plugin_changes 
(D:\CordovaApp\node_modules\cordova-common\src\ConfigChanges\ConfigChanges.js:115:18)
       at D:\CordovaApp\node_modules\cordova-common\src\PluginManager.js:120:33
       at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5)
   ```
   
   It only works if you delete the two empty arrays in 
`platforms/android/android.json`:
   
![image](https://github.com/apache/cordova-common/assets/12544460/89c4ad46-b2af-4607-a117-a572e504ab3b)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to