@GaryVLC wrote:
Greeting guys, I'm new to Ionic. I have met a problem running my apps on android devices or android emulator. The problem is that my google map would not show on the android devices. The console displayed 2 problem
https://maps.googleapis.com/maps/api/js?key=AIzaSyBj2FLEW-wJwVfBdkMjpESZIhrJrhtt-N4&callback=&libraries=places&sensor=false Failed to load resource: the server responded with a status of 404 (Not Found)
angular.js:13424 ReferenceError: google is not defined
at new (file:///android_asset/www/js/TaxiService/content/taxiservice-ctrl.js:34:7)
at Object.invoke (file:///android_asset/www/lib/angular/angular.js:4625:19)
at $controllerInit (file:///android_asset/www/lib/angular/angular.js:10027:34)
at nodeLinkFn (file:///android_asset/www/lib/angular/angular.js:8965:34)
at compositeLinkFn (file:///android_asset/www/lib/angular/angular.js:8333:13)
at compositeLinkFn (file:///android_asset/www/lib/angular/angular.js:8336:13)
at publicLinkFn (file:///android_asset/www/lib/angular/angular.js:8213:30)
at self.appendViewElement (file:///android_asset/www/lib/ionic/js/ionic-angular.js:6729:5)
at Object.switcher.render (file:///android_asset/www/lib/ionic/js/ionic-angular.js:4715:41)
at Object.switcher.init (file:///android_asset/www/lib/ionic/js/ionic-angular.js:4635:20)Please help me guys, i already struggled with this problem very long time.
Posts: 2
Participants: 2