Ionic - Cannot load empty config.xml file

ionic config.xml overwritten
phonegap config xml
cannot load cordova config. invalid package json
cordova config xml android permissions
ionic framework not installed in ionic info

I am getting a Cannot load empty config.xml file when I try to run ionic cordova run android. Has anyone ever encountered this problem before? ionic serve seems to work.

This error is because your global config.xml file is empty for some reason. You should check config.xml file of your Ionic project, it's located in /your/project/path/config.xml and recover its last content.

Ionic 3 Project does not have config.xml, Hello, I am trying to run an application on my Android phone. The result of it is getting this error for following the command. ionic cordova run  I am getting a Cannot load empty config. I am getting a Cannot load empty config.xml file when I try to run ionic cordova run android.

Just use the below command it will work!

ionic integrations enable cordova --add

Cannot load empty config.xml file (Android build) - ionic-v3, Go to Ionic Project directory. “[ERROR] Cannot load Error: Cannot load empty config.xml file. at ConfigConfig. And, ionic integrations enable cordova --add  Never mind. I deleted the game.xml file and it booted up and it created a new one. Obviously I had to redo all my settings. Leaving post up incase someone else gets it

ionic integrations enable cordova --add

This solution worked for me. But as I read other posted solutions. I recommend you not to overwrite the resource folder Do overwrite config.xml folder (because in my case this is root of issues).

Thanks and Love

[ERROR] Cannot load Cordova config. Error: Cannot load empty , I am getting a Cannot load empty config.xml file when I try to run ionic cordova run android. Has anyone ever encountered this problem before? ionic serve  I was facing the same issue where my config.xml was getting empty, So I found that port 8100 was already in use with ionic server --lab, Hence I stop that process and rerun ionic cordova run -l -c -s again and It worked.

I went to github copied the codes inside my config.xml on my previous push to github, paste it on my local config.xml and walahi it worked. Try this.

Ionic - Cannot load empty config.xml file - node.js - html, Search for jobs related to Error cannot load empty config xml file ionic or hire on the world's largest freelancing marketplace with 17m+ jobs. It's free to sign up  If the plugin is in plugins.cordova.io or npm (Cordova 5.0.0+), you can simply add an element to config.xml to install on next build. If the plugin author is using GitHub's release features, you can access and use older versions of the plugin and install from the file system. Add the Plugin to Config.xml

That file might get randomly deleted, So take that file back,Working for me fine

Error cannot load empty config xml file ionic Jobs, Employment , I am getting a Cannot load empty config.xml file when I try to run ionic cordova run android. Has anyone ever encountered this problem before? This does not modify the top-level config.xml file, so the element does not apply to your workflow. If you work directly in an SDK and using the platform-specific config.xml file as source, you use the tag to enable device-level APIs and external plugins. They often appear with custom values in platform-specific config.xml files.

Ionic - Cannot load empty config.xml file, This means upon the first 'cordova' command, your config.xml file is There's very little left that Ionic CLI does that doesn't frustrate me. Also note that the cordova.js or phonegap.js file must be the last script, and that this file will not be found in your development files, but rather automatically included when running or emulating your app. Now that we have our starting place, we need to figure out what the UI of the app will look like.

Ionic CLI reformatting config.xml · Issue #2230 · ionic-team/ionic-cli , the following error. My config.xml. config.xml rewritten by ionic cordova build #86. Closed. danieldonev So why then the information from the config.xml is not propagated to the info.plist file? Not sure what confide.xml is, but the info.​plist is obviously empty. You can't perform that action at this time. A quick Ionic project showing how to use the proxy server - ionic-team/ionic-proxy-example

config.xml rewritten by ionic cordova build · Issue #86 · dariosalvi78 , For example, if the -MinVersion is set to 10.1.0.0, then OS versions which don't support at least 10.1.0.0 of the corresponding SDK won't be able to load it. Similarly  The base Visual Studio and Cordova CLI template (via the cordova create command) has a config.xml file in it that is designed to allow the app to make external requests anywhere, allows a specific subset of intents, and prevents the WebView in the Cordova app to navigate anywhere other than local content.

Comments
  • check your config.xml whether it is empty or not as well as check whether you have added the android or ios platform
  • This was the problem. Thanks
  • My config.xml has seemingly been randomly going blank. Anyone have a solution to this?
  • Do you use git in your project ?
  • If you use Git, you can use it to recover config.xml content.
  • I've got the same issue, each time I stop ionic cordova run android -l -c --device using ctrl+break (may reproduce with other commands)
  • This can cause another issue just copy your .code back if you have pushed it to github before.
  • true, I realized it later, it would be generated angular imports in ionic with umd, therefore be careful, If you cannot restore from git better to got with above solution and delete umd from imports in ts files.