Vendor.js error on Android


#1

Updating from 3.5.0 to 3.5.3, my app works well on browser but fails on a Android device. In the log, I see the following line :
ERROR, source file:///android_asset/www/build/vendor.js (1)

I did add the vendor.js to index.html:
<script src="build/vendor.js"></script>

Is anybody facing the same problem ? What other information is needed to try to debug this issue ?

ionic info

global packages:

@ionic/cli-utils : 1.5.0
Cordova CLI      : 6.5.0 
Ionic CLI        : 3.5.0

local packages:

@ionic/app-scripts              : 2.0.2
@ionic/cli-plugin-cordova       : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms               : android 6.1.2
Ionic Framework                 : ionic-angular 3.5.2

System:

Node       : v7.4.0
OS         : Linux 4.11
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 5.3.0

#2

I think its related to https://github.com/ionic-team/ionic-app-scripts/issues/1112


#3

Is this issue solved? am facing the same now.


#4

Yesterday I was facing the same issue. Try putting

<script src="build/vendor.js"></script>

before including main.js in src/index.html


#5

my index.html is build/vendor.js before main.js.
but the mistake also happened.
Is this issue solved?


#6

Please post the exact error. It may be due to plugin not login properly


#7

Sir i do this but problem is not resolve?


#8

I have the exact same error, did you find any solution ? Im stucked …


#9

You managed to solve this problem.
I have 2 days investigating and nothing