[Aerogear-users] Failed to load resource

Erik Jan de Wit edewit at redhat.com
Mon Jan 25 03:37:25 EST 2016


Strange error the files are empty and not found? Could you try it from the
command line?

cordova create push-test
cd push-test
cordova plugin add aerogear-cordova-push
cordova platform add android
cordova run

both files should be found and not empty. Aerogear-push.js is the
javascript interface to the plugin's native parts so that must be there
otherwise it will not work. What could be the case is that you don't have
cordova.js as a javascript reference in your project?

Hope this helps,

On Sat, Jan 23, 2016 at 9:14 PM, Anton Hughes <kurrent93 at gmail.com> wrote:

> I have added more details, regarding this issue, to
> http://stackoverflow.com/questions/34962768/failed-to-load-resource-neterr-file-not-found-with-cordova
> .
>
> Thanks
>
> On Sat, Jan 23, 2016 at 10:55 AM, Anton Hughes <kurrent93 at gmail.com>
> wrote:
>
>> Hello
>>
>> I am followig the guide on
>> https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/ -
>> and have gone through this a few times now, so I am sure I am not missing
>> any step.
>>
>> I am deploying my sample app onto genymotion, and using the chrome
>> debugger, and I see the following error:
>>
>> file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js
>> Failed to load resource: net::ERR_FILE_NOT_FOUND
>> file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.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
>>
>> How can I fix this?
>>
>> Thamks
>>
>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>


-- 
Cheers,
       Erik Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160125/656f8051/attachment.html 


More information about the Aerogear-users mailing list