Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17219

Android: Google Maps stop loading in Android 4.4 with Google Play Services (4.4.52)

    Details

    • Story Points:
      13

      Description

      Problema Description

      Before navigating for awhile the map stop loading, that only happens when using Android 4.4.x and Google Play Services 4.4.52

      Community Extra info

      http://developer.appcelerator.com/question/174507/google-map-v2---map-data-stop-loading-and-updating-

      Tests

      Nexus 4, Android 4.4.2, Google Play services 4.4.52 - stopped working

      Nexus 4, Android 4.4.2, Google Play services 4.0.33 - OK

      Xperia Neo V, Android 4.0.4, Google Play services 4.4.52 - OK

      Galaxy Nexus Android 4.3, Google Play services 4.4.52 - OK

      Razr D3, Android 4.1.2, Google Play services 4.4.52 - OK

      Testcase

      app.js

      var MapModule = require('ti.map');
       
      var code = MapModule.isGooglePlayServicesAvailable();
       
      if (code != MapModule.SUCCESS) {
      	alert ("Google Play Services is not installed/updated/available");
      } else {
      	var win = Ti.UI.createWindow();
      	var map = MapModule.createView({
      		userLocation: true,
      		mapType: MapModule.NORMAL_TYPE,
      		animate: true,
      		region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.02, longitudeDelta: 0.02 }
      	});
      	win.add(map);
      	win.open();
      }
      

      Logs

      log

      [INFO] :   Installing app on device: Nexus 4
      [INFO] :   App successfully installed
      [INFO] :   Starting app: com.fllor.appdev/.GooglemapsActivity
      [INFO] :   Application pid: 4857
      [INFO] :   Project built successfully in 49s 991ms
      -- Start application log -----------------------------------------------------
      [INFO] :   TiApplication: (main) [0,0] checkpoint, app created.
      [INFO] :   TiApplication: (main) [83,83] Titanium 3.2.3 (2014/04/22 10:17 b958a70)
      [INFO] :   TiDbHelper: (main) [78,161] No value in database for platform key: 'unique_machine_id' returning supplied default ''
      [INFO] :   TiDbHelper: (main) [8,169] No value in database for platform key: 'hardware_machine_id' returning supplied default ''
      [WARN] :   linker: libstlport_shared.so has text relocations. This is wasting memory and is a security risk. Please fix.
      [WARN] :   linker: libkroll-v8.so has text relocations. This is wasting memory and is a security risk. Please fix.
      [WARN] :   linker: libtiverify.so has text relocations. This is wasting memory and is a security risk. Please fix.
      [INFO] :   TiApplication: (main) [90,259] Titanium Javascript runtime: v8
      [INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
      [INFO] :   TiAnalyticsDb: (main) [37,37] Upgrading Database from 1 to 4
      [WARN] :   V8Object: Runtime disposed, cannot set property 'userAgent'
      [WARN] :   linker: libti.map.so has text relocations. This is wasting memory and is a security risk. Please fix.
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1613 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1609 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1624 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1621 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1617 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1615 (common_google_play_services_invalid_account_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1621 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1610 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1607 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1622 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1612 (common_google_play_services_install_text_tablet) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1611 (common_google_play_services_install_text_phone) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1608 (common_google_play_services_enable_text) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1620 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1616 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1614 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1619 (common_google_play_services_unsupported_date_text) in Lcom/google/android/gms/R$string;
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
      [ERROR] :  GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 11.904MB for 2731536-byte allocation
      [INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.fllor.appdev.GooglemapsActivity@41f55fe8
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1628 (MapAttrs) in Lcom/google/android/gms/R$styleable;
      [ERROR] :  GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
      [INFO] :   I/Google Maps Android API: Google Play services client version: 4132500
      [INFO] :   I/Google Maps Android API: Google Play services package version: 4452036
      [INFO] :   fpp: Making Creator dynamically
      [INFO] :   I/Google Maps Android API: Google Play services client version: 4452000
      [INFO] :   I/Adreno-EGL: <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
      [WARN] :   dalvikvm: VFY: unable to resolve static field 1628 (MapAttrs) in Lcom/google/android/gms/R$styleable;
      [WARN] :   TiVerify: (Timer-0) [5016,5016] Verifying module licenses...
      [INFO] :   TiVerify: (Timer-0) [830,5846] Succesfully verified module licenses
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 16.576MB for 292268-byte allocation
      [INFO] :   dalvikvm: Jit: resizing JitTable from 4096 to 8192
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 16.704MB for 329936-byte allocation
      [INFO] :   TiAnalyticsSvc: (Thread-189) [24214,30060] Analytics Service Started
      [INFO] :   TiAnalyticsSvc: (Thread-189) [2203,32263] Stopping Analytics Service
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 15.234MB for 292268-byte allocation
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 16.435MB for 360412-byte allocation
      [INFO] :   dalvikvm: Jit: resizing JitTable from 8192 to 16384
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 17.201MB for 156852-byte allocation
      [INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 17.070MB for 277324-byte allocation
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                netoramalho Netto Ramalho
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18898
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration