Ionic2 Frequent Errors & Solutions

  1. Application Error: “The connection to the server was unsuccessful. (file:///android_asset/www/index.html)”
    Solution 1: Try to add this below line to config.xml
    <preference name="loadUrlTimeoutValue" value="700000" />

  2. Uncaught (in promise): TypeError: Cannot read property ‘name’ of null
    Solution 1: