Hello everyone, (OSX 10.9.3), I have a problem with the new ti.map add-on module. This is my code and my error when my app runs on my device (Galaxy Nexus) and it should show the map... the map doesn't appear, it appear only a white view with plus and minus symbols, the word "Google" and the GPS symbol. I tried with map module 2.1.4 and 2.1.5, I controlled the API KEY, and I also regenerated it, I set the tiapp.xml file like it should, I already tried all the solution I could find in this foum. I don't know what else can I do =( I didn't install Android samples but I think it shouldn't be a problem.
function crea_mappa(lat, lon, rivenditori, propName){ var Map = require('ti.map'); var annotazioni = []; for (var i=0; i<rivenditori.length-4; i++){ annotazioni[i] = Map.createAnnotation({ latitude: parseFloat(rivenditori[i][propName[8]]), longitude: parseFloat(rivenditori[i][propName[9]]), title: rivenditori[i][propName[0]], subtitle: rivenditori[i][propName[1]], pincolor: Map.ANNOTATION_RED, animate: true, myid: i //Custom property to uniquely identify this annotation }); } mapView = Map.createView({ mapType: Map.NORMAL_TYPE, region: {latitude: lat, longitude: lon, latitudeDelta: 1, longitudeDelta: 1}, animate: true, regionFit: true, userLocation: true, //mostra la posizione dell'utente con un pin annotations: annotazioni, height: Ti.UI.FILL, backgroundColor: 'black', top: 6 }); //for the iOS platform, wait for the complete event (fired when the map completes loading) to ensure the region is set if (Ti.Platform.name == 'iPhone OS') { mapView.addEventListener('complete', function(evt){ mapView.region = { latitude: lat, longitude: lon, latitudeDelta: 1, longitudeDelta: 1 }; }); } mapVadded = false; }This error appears either I put the zip module in Resources folder, or unzipped module in Application Support/Titanium/modules/android/ti.map
[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] : Choreographer: Skipped 109 frames! The application may be doing too much work on its main thread. [INFO] : dalvikvm: Jit: resizing JitTable from 4096 to 8192 [INFO] : TiAnalyticsSvc: (Thread-5962) [27499,32038] Analytics Service Started [INFO] : I/Google Maps Android API: Failed to contact Google servers. Another attempt will be made when connectivity is established. [INFO] : TiAnalyticsSvc: (Thread-5962) [1577,33615] Stopping Analytics Service [ERROR] : E/Google Maps Android API: Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).