Software Archive
Read-only legacy content
17061 Discussions

Failed to load resource

riccardo_u_
Beginner
639 Views

I have tried debug the test app "geolocation demostration" but the debug fails because of those errors:

Failed to load resource: the server responded with a status of 404 (Not Found)                         http://maps.google.com/maps/api/js?sensor=false
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defined
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defined
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defineddrawMap @ main.js:14suc @ main.js:45
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defineddrawMap @ main.js:14suc @ main.js:45
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defineddrawMap @ main.js:14suc @ main.js:45
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defineddrawMap @ main.js:14suc @ main.js:45
main.js:40 geolocation success 4
main.js:14 Uncaught ReferenceError: google is not defined

It seems not be able to download the resource "http://maps.google.com/maps/api/js?sensor=false".

Both Pc and mobile phone are connected to internet .

What can I do ?

Thank you

0 Kudos
1 Reply
Chris_P_Intel
Employee
639 Views

If I'm not mistaken, you need to add  maps.google.com  to your HTTP whitelist in the Project or Build settings.

0 Kudos
Reply