I'm really tired of searching over net and testing all different ideas and nothing for the moment and is really discouraging to can´t find some solution for this. I'm trying to use google maps v2 module in my Samsung S2 (because official documents say that in emulator is impossible and yes, app directly crashes if i try) but always i get the same result, gray screen with zoom and user location buttons.
I have tried with directly build and install from Studio to device, build and install on simulator and with airdroid install on device, the same with both, gray! :(
- On google console i switched on "Google Maps Android API v2"
- Created new android key with SHA1 from Titanium "CC:E3:7F:08:FA:03:9C:88:07:BC:CB:AB:7B:88:61:F4:75:9D:47:9F;com.hfp.mobile" -> AIzaSyD7Hy4kJCKCP0ERxcSQiPozPjj2q27coQM the api key
- And this is part of my tiapp.xml..
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest> <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <uses-permission android:name="com.hfp.mobile.permission.MAPS_RECEIVE"/> <permission android:name="com.hfp.mobile.permission.MAPS_RECEIVE" android:protectionLevel="signature"/> <application> <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyD7Hy4kJCKCP0ERxcSQiPozPjj2q27coQM"/> </application> </manifest> </android>
Some idea? i have read that "no matter" if now i only see a gray rectangle because then, when app will be uploaded on store, maps will work perfectly...sure?...
Using aLogcat app the message is.. E/Google Maps Android API(27814): Ensure that the following correspond to what is in the API Console: Package Name: com.hfp.mobile, API Key: AIzaSyD7Hy4kJCKCP0ERxcSQiPozPjj2q27coQM, Certificate Figerprint: CCE37F08FA039C8807BCCBAB7B8861F4759D479F
Thanks