Failed to load resource file:///android_asset/www/cordova_plugins.js Ionic CLI Version: 2.0.0-alpha.18

ionicionic-cli

I recently updated my Ionic CLI version to 2.0.0-alpha.18 and since then whenever I try to build out my app using Ionic build android, when I run the apk on my device I get this error message:

Failed to load resource file:///android_asset/www/cordova_plugins.js

other info:
Cordova CLI: 5.4.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.1.0
Ionic CLI Version: 2.0.0-alpha.18
Ionic App Lib Version: 2.0.0-alpha.17
OS: Windows 8.1
Node Version: v0.12.7

Anyone else have this problem?

Best Answer

I think I fixed the problem. I had to run: ionic platform remove android and then ionic platform add android and then the build worked

Related Topic