When doing ionic run android
and the assets folder is not getting copied to device.
In my case i have translation-files for ng2-translate in src/assets/i18n
When I do ionic serve, it all works well in browser, but not happening with Device.
Screenshot of
- Resources tab of Chrome Dev tools
- www/assets that is copied right from src
I followed this link https://github.com/driftyco/ionic-app-scripts/issues/176
and did npm install @ionic/app-scripts@beta
My Ionic info
Cordova CLI: 6.3.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.36
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.2.6
Xcode version: Xcode 8.0 Build version 8A218a