Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

ReferenceError: google is not defined

$
0
0

@RafaelGotta wrote:

Hi guys, hope you can help me again... the print screen shows what happens when run my app on Genymotion emulator (ionic run android -cls). I don't if it's important, but before that I was getting the MultiDex Error and I solved it when I updated my jdk from 1.7 to 1.8. Now my problem is that "google is not defined", however on my index I already have:

<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://maps.googleapis.com/ https://maps.gstatic.com/ https://mts0.googleapis.com/ 'unsafe-inline' 'unsafe-eval'">

<script src="https://maps.google.com/maps/api/js?key=AIzaSyB16sGmIekuGIvYOfNoW9T44377IU2d2Es"></script>

Considering that this error shows something wrong with the ionic.bundle.js file I think I need to take a look at this file, but I'm a beginner on ionic development and I don't know what to look for on this file.

Someone can help me to understand what do I have to do to solve this issue?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles