![](/img/trans.png)
[英]AngularJS 2 and Cordova: “Failed to load resource: net::ERR_FILE_NOT_FOUND”
[英]Failed to load resource: net::ERR_FILE_NOT_FOUND with Cordova
我正在關注https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/上的aerogear教程。
我已經經歷了幾次,並繼續遇到同樣的問題。
當部署到Genymotion並使用chrome進行調試時,我看到以下錯誤:
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js Failed to load resource: net::ERR_FILE_NOT_FOUND
cordova.js:1431 Uncaught Error: Module aerogear-cordova-push.AeroGear.ajax does not exist.
cordova.js:1185 deviceready has not fired after 5 seconds.
cordova.js:1178 Channel not fired: onPluginsReady
cordova.js:1178 Channel not fired: onCordovaReady
我注意到,在Chrome檢查器中查看時,插件文件為空 ,但是在我的本地項目中,所有插件文件都有內容。
有誰知道如何解決這一問題?
謝謝
我不能肯定地說為什么要修復它,但是我懷疑是由於以下原因之一:
重新安裝並重新設置權限-並重新啟動后-它可以正常工作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.