错误源文件android_asset www构建供应商js离子应用程序内容未加载

时间:2018-08-12 14:48:41

标签: ionic2 ionic3

我运行离子科尔多瓦平台,添加android@6.4.0,并在android studio中运行我的应用程序时:

我可以很好地登录,但是当主页出现时,数据也不会加载,其他页面也是如此。在我执行的每个页面上,都不会加载数据,并且恰好在我点击这些页面的同一时间,我在android studio的控制台中看到类似(但编号不同)的内容:

“ERROR”, source: file:///android_asset/www/build/vendor.js (any line)

有关android studio logcat的更多内容

08-12 10:44:10.611 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(1882)] "TOKEN EN GETORDER - CARRITOSERVICE.TS", source: file:///android_asset/www/build/main.js (1882)
08-12 10:44:10.611 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 1883 : eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdiYmU1YzA0ZDVmMTlkMWM0NDBkZTVkNGU0NWVjMDk2MjkzN2NjZDI1ODZiZmQxN2UxMjViOWUxYmM0YzZmZTA1MWE1N2RiNTM4NDRlMGIxIn0.eyJhdWQiOiIyIiwianRpIjoiN2JiZTVjMDRkNWYxOWQxYzQ0MGRlNWQ0ZTQ1ZWMwOTYyOTM3Y2NkMjU4NmJmZDE3ZTEyNWI5ZTFiYzRjNmZlMDUxYTU3ZGI1Mzg0NGUwYjEiLCJpYXQiOjE1MzQwODEwOTEsIm5iZiI6MTUzNDA4MTA5MSwiZXhwIjoxNTM1Mzc3MDkxLCJzdWIiOiI1MDciLCJzY29wZXMiOltdfQ.egUykxz7sykM4DzOsdZLQax_-AZtoqlgyYVoPvYNgn8wz4DcH_2TZcVPY-tH-6D0FgqciPHsmPptaUqWQjEjtrcfTPKcN05qsz5DTavlDVOcLqW4CSvwld8QDf8FX_aVM4JAz7uarqkF11Zxl6pB_e0F6ayUdlslhlTMpmyBOXWB45_VH-MVlUFpkG2BLB1FzrzwrEKplcgOKKgArw8Fh_D8Y3Y-wnL8LmoVySJX0GBnUL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TMpmyBOXWB45_VH-MVlUFpkG2BLB1FzrzwrEKplcgOKKgArw8Fh_D8Y3Y-wnL8LmoVySJX0GBnULWQiGlSA808a8U2O1zP2onITRtSAPA90jd_JSKmjhrxxq4Gz0gePbQdlYp_wmQGzT9L1f_6VwenaDtvQ49d9V-MH2ZOYl3l1loU7UOr44PMRQ-_Ne1SZXujp4zvTJvJ_wBaCC1nCB_DwNnRNjqUodxjCojoZJgCRgPgoGhmoOZBLnoYxwrr-vGDl0BsJo9lhVLCzxO2ifJtMlp_2KrRdlqKQ4EJjgZq2l3bwIqjzx7sHVBkhLIJovAoxR3grwjtCL5vq1Ng3rEXt_j-LLMhuIxnLNM2CDJYfpv1_n8WFbL6m8J2JbzNZon_9wdsQbmebPTGh40MJkaJ7TCxp9jU2BuEiJORvlY6ud090jcZFmFJil3uqcTcOj5deUZjoyor8m72aTgMwzv2VRWf25CjSNHpaUlsqeLtnQzC_zyL8ilUA-KKEQDmzeOyh8_agOM", source: file:///android_asset/www/build/main.js (1883)
08-12 10:44:10.804 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 1823 : ERROR
08-12 10:44:10.805 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(1823)] "ERROR", source: file:///android_asset/www/build/vendor.js (1823)
08-12 10:44:42.247 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 942 : ionViewWillEnter
08-12 10:44:42.247 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(942)] "ionViewWillEnter", source: file:///android_asset/www/build/main.js (942)
08-12 10:44:42.249 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 1858 : TOKEN EN GETCART - CARRITOSERVICE.TS
08-12 10:44:42.249 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(1858)] "TOKEN EN GETCART - CARRITOSERVICE.TS", source: file:///android_asset/www/build/main.js (1858)
08-12 10:44:42.250 8547-8547/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8WFbL6m8J2JbzNZon_9wdsQbmebPTGh40MJkaJ7TCxp9jU2BuEiJORvlY6ud090jcZFmFJil3uqcTcOj5deUZjoyor8m72aTgMwzv2VRWf25CjSNHpaUlsqeLtnQzC_zyL8ilUA-KKEQDmzeOyh8_agOM", source: file:///android_asset/www/build/main.js (1859)
08-12 10:44:42.263 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 1484 : ionViewDidLeave PedidosPage
08-12 10:44:42.263 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(1484)] "ionViewDidLeave PedidosPage", source: file:///android_asset/www/build/main.js (1484)
08-12 10:44:42.432 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 1823 : ERROR
08-12 10:44:42.432 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(1823)] "ERROR", source: file:///android_asset/www/build/vendor.js (1823)
08-12 10:44:42.590 8547-8547/io.ionic.starter D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 1823 : ERROR
08-12 10:44:42.590 8547-8547/io.ionic.starter I/chromium: [INFO:CONSOLE(1823)] "ERROR", source: file:///android_asset/www/build/vendor.js (1823)
08-12 10:44:43.905 8547-8547/io.ionic.starter D/CordovaActivity: Paused the activity.
08-12 10:44:43.971 8547-8547/io.ionic.starter D/CordovaActivity: Stopped the activity.

这是离子信息:

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v8.9.4
    npm               : 5.6.0
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME : C:\Users\JulioD07\Desktop\sdk

Misc:

    backend : pro

0 个答案:

没有答案