Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 311
user3407300 Avatar asked Jan 08 '23 01:01

user3407300


1 Answers

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

like image 111
user3407300 Avatar answered Jan 09 '23 14:01

user3407300