I work in team on that run the same application (we work with eclipse).
When i run google maps i get this error:
01-29 13:26:08.445: W/ResourceType(404): getEntry failing because entryIndex 13 is beyond type entryCount 3
01-29 13:26:08.445: W/ResourceType(404): Failure getting entry for
0x7f0c000d (t=11 e=13) in package 0 (error -2147483647)
01-29 13:26:08.445: E/GooglePlayServicesUtil(404): The Google Play
services resources were not found. Check your project configuration to
ensure that the resources are included.
In some times i get the error :
01-29 16:16:28.795: E/GooglePlayServicesUtil(31102): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
01-29 16:17:16.255: E/Google Maps Android API(31102): Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.
01-29 16:17:16.260: E/Google Maps Android API(31102): Ensure that the following correspond to what is in the API Console: Package Name: com.applicat.meuchedet, API Key: AIzaSyAPf9_FQjkmARqhS_fbW3SdXXbLwzQXPwk, Certificate Fingerprint: 1BE3F51C82C911E280FD2808F6741CFA80F53465
This strange behavior it's occurred only me!!
The other co-workers that work on the same project(svn) get Google Maps.
I try all the answers that i found in stackoverflow.. it's doesn't work
Also i try to run the project that sit at co-worker workspace.
It's doesn't work!!
I had a similar error.
In my case it was related to the call to
map.setMyLocationEnabled(true);
in the case of use of the default map provider.
The solution was in my case to code a trivial location source and pass it with
map.setLocationSource(...);
Just to check if it is the same, try to comment out the line with setMyLocationEnabled (if you have one).
Try following steps,
Try to install Google Play services in android SDK manager
Enable the Google Maps Android API v2 service in the Google API's console
Try to add (or) refer the Google Play lib from the project
then your map will run.
Related
I am trying to get Google Maps working on my Android project.
I did everything by the book but nothing works...
Google Maps Android API: Authorization failure.
Cannot resolve Identity from identityId. Dispatching as
Identities.PSEUDONYMOUS.
Ensure that the "Google Maps Android
API v2" is enabled. Ensure that the following Android Key
exists:
API Key: Android Application (<cert_fingerprint>;<package_name>):
GoogleCertificatesRslt: Package signed with unknown certificate*
The API key, fingerprint and package name are correct.
Restricting and unrestricting the API key makes no difference.
Switchen between debug and release fingerprint makes no difference either.
It simply doesn't work whatever I am trying.
Any suggestions what I am missing, doing wrong or lousy documented?
The problem was located in local.properties:
Instead of MAPS_API_KEY="AbCdEfGhi1234..." it should read MAPS_API_KEY=AbCdEfGhi1234...
Don't surround the key with ""...
Now, when you register an api key on api console for using Maps V2 on Android, you can configure it to work without restrictions, and I want to do it because I want to make some tests with the same key in various apps, and it's mandatory for me to achieve this.
I configured the key this way:
But when I'm trying to use it without restrictions active on the api key configuration, in debug mode it works perfectly but after signing my app with my keystore the tiles on the map are not being displayed and I'm getting this error on the logcat:
Google Maps Android API: Authorization failure. Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
03-02 16:49:12.158 2600-2660/? E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com)
Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key: YOUR_KEY_HERE
Android Application (<cert_fingerprint>;<package_name>):
What more it's necessary to do to get a key working without restrictions in various apps without indicating theirs packages and sha's ?
PD: I don't know why API Key has a "YOUR_KEY_HERE" value on the log because it's correctly specified on the xml file and I can see it on the manifest.
Finally the solution was very simple, but frustrating. In Android studio you can see this file for editing:
app > src > debug > res > values > google_maps_api.xml
And it's the debug placeholder for the key... you must also write your key here manually:
app > src > relese > res > values > google_maps_api.xml
Worked like a charm.
I am developing an Android application using google map api v2 to show a Map in a Fragment. When I run the application, I always got this error message poppin in my log every now and then.
Things I've tried:
Erasing the debug.keystore and rebuilding the app.
Downgrading the Google Play Service and upgrading it again.
Deselect Offline Work
Nothing does the trick so far...
Once upon the time in the Log tab :
2364-3928/com.example.android.app E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.googlecertificates.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.example.android.app-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.android.app-2/lib/arm, /data/app/com.example.android.app-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
2364-3928/com.example.android.app I/DynamiteModule: Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:1
2364-3928/com.example.android.app I/DynamiteModule: Selected remote version of com.google.android.gms.googlecertificates, version >= 1
2364-3928/com.example.android.app W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000000/n/armeabi
2364-3928/com.example.android.app D/ChimeraFileApk: Primary ABI of requesting process is armeabi-v7a
2364-3928/com.example.android.app D/ChimeraFileApk: Classloading successful. Optimized code found.
2364-3928/com.example.android.app D/GoogleCertificates: com.google.android.gms.googlecertificates module is loaded
2364-3928/com.example.android.app D/GoogleCertificatesImpl: Fetched 154 Google release certificates
1921-2130/? V/GoogleSignatureVerifier: com.example.android.app signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTE3MTYxNzM0WhcNNDYwNTEwMTYxNzM0
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAkafVu0j1zuB6+cpo6q5OsfhrlEFzVknFNs0c
vJorrlTTPZK3WSmkX9jZ0cp6oL60+4mHPouAR7Hq72gAs8u9Zh3eVrnV7uP7Rv2/z84DJuo34z1g
lahfkNPR/mCsYkK+ZqkC6uR46NnoftoKC/9vJSlUxYaBLT+mWvApz4rUKuMCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAERId+C7AD5Ew4Jv4mTmaZWBUtkinCKFSF4RtVa3xnHjL5xDPbAEq829gt+yx7
FkftGZO1x5nWEdAWyxiZgET3sKyl4ejRu1V5qvTMOcPMaVHw/e5v97FK8q756tQBcAu+Zs77P6MW
RxXtAwqeIkV1+L1rY8WueawfQ7Wbm1bPOg==
1921-2130/? V/GoogleSignatureVerifier: com.example.android.app signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTE3MTYxNzM0WhcNNDYwNTEwMTYxNzM0
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAkafVu0j1zuB6+cpo6q5OsfhrlEFzVknFNs0c
vJorrlTTPZK3WSmkX9jZ0cp6oL60+4mHPouAR7Hq72gAs8u9Zh3eVrnV7uP7Rv2/z84DJuo34z1g
lahfkNPR/mCsYkK+ZqkC6uR46NnoftoKC/9vJSlUxYaBLT+mWvApz4rUKuMCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAERId+C7AD5Ew4Jv4mTmaZWBUtkinCKFSF4RtVa3xnHjL5xDPbAEq829gt+yx7
FkftGZO1x5nWEdAWyxiZgET3sKyl4ejRu1V5qvTMOcPMaVHw/e5v97FK8q756tQBcAu+Zs77P6MW
RxXtAwqeIkV1+L1rY8WueawfQ7Wbm1bPOg==
1921-2130/? V/GoogleSignatureVerifier: com.example.android.app signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTE3MTYxNzM0WhcNNDYwNTEwMTYxNzM0
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAkafVu0j1zuB6+cpo6q5OsfhrlEFzVknFNs0c
vJorrlTTPZK3WSmkX9jZ0cp6oL60+4mHPouAR7Hq72gAs8u9Zh3eVrnV7uP7Rv2/z84DJuo34z1g
lahfkNPR/mCsYkK+ZqkC6uR46NnoftoKC/9vJSlUxYaBLT+mWvApz4rUKuMCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAERId+C7AD5Ew4Jv4mTmaZWBUtkinCKFSF4RtVa3xnHjL5xDPbAEq829gt+yx7
FkftGZO1x5nWEdAWyxiZgET3sKyl4ejRu1V5qvTMOcPMaVHw/e5v97FK8q756tQBcAu+Zs77P6MW
RxXtAwqeIkV1+L1rY8WueawfQ7Wbm1bPOg==
1921-2130/? V/GoogleSignatureVerifier: com.example.android.app signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTE3MTYxNzM0WhcNNDYwNTEwMTYxNzM0
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAkafVu0j1zuB6+cpo6q5OsfhrlEFzVknFNs0c
vJorrlTTPZK3WSmkX9jZ0cp6oL60+4mHPouAR7Hq72gAs8u9Zh3eVrnV7uP7Rv2/z84DJuo34z1g
lahfkNPR/mCsYkK+ZqkC6uR46NnoftoKC/9vJSlUxYaBLT+mWvApz4rUKuMCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAERId+C7AD5Ew4Jv4mTmaZWBUtkinCKFSF4RtVa3xnHjL5xDPbAEq829gt+yx7
FkftGZO1x5nWEdAWyxiZgET3sKyl4ejRu1V5qvTMOcPMaVHw/e5v97FK8q756tQBcAu+Zs77P6MW
UPDATE
I'm still having the error message, does anyone fix it since then?
/com.example.android.greenLeaf V/GoogleSignatureVerifier: com.google.android.gms signature not valid. Found:
MIIEQzCCAyugAwIB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CCQDC
4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/y
zKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCE
yj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1S
KMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifK
Z0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3Wf
MBEmh/9iFBDAaTCK
When You make signed apk then you have to put SHA-1 Of that keystore in Google Api console where u enabled GoogleAPI V_2 enabled.Then Generate API key again and put that API key into your manifest file.
Apparently it's a known issue acknowledged by a google developer
stating this in a more recent post:
Sorry, thats a bug! It's just spurious logging though: Google Play
services does some checking to see whether you are a Google app or a
regular third party one.
As part of that, it calls the signature verifier and the logging ended
up more verbose than intended - it will be fixed in a future
version.This shouldn't affect the behavior of your app at all.
So it should just be ignored until the future update...
By checking the internet for the other people who encountered the same problem of yours, in updating Google Play Service to 9.0.83. I found a discussion here on how to solve that problem. You can try to check it, if it can help you.
Some solution is by checking if you have enabled offline work for gradle, deselect Offline Work if it's checked. Then, confirm if you have latest version of Google services mentioned as dependencies in project level build.gradle: classpath com.google.gms:google-services:2.1.0. Clean and build the project after the gradle sync completes.
Try to update the SHA1 key in your project on Google Developer Console and update the Maps API key in your android project.
Also, some people fixed it by just deleting the debug.keystore file found in the android folder.
As per Ian Barber's comment in this answer Google Play services version 10.0.1 will fix this issue.
Updgrade to the latest version (10.0.1 last time I looked), should go
away.
Hope this will help you.
Happy coading!!!
Add this in project level gradle file:
classpath 'com.google.gms:google-services:2.1.0'
and this one for module level gradle file:
compile 'com.google.android.gms:play-services:8.4.0'
and move below plugin at the end of file (at last line) of module level gradle file:
apply plugin: 'com.google.gms.google-services'
I have fixed it by deleting the debug.keystore file found in the .android folder.
It will generate automatically and create new SHA1 using that file.
Gnah. This was bugging me for hours! Just deinstall the updates of Google Playservice 9.0.83. Version 8.7.02 is working here. Also keep this posting in mind: https://plus.google.com/+ChristopheBeyls/posts/LC2XCSoaVBJ
you should change Map api v2 to v3 :- Map API V3 coz of Version 2 of the Google Maps JavaScript API is no longer available. This guide is intended to help developers who are already using the Google Maps JavaScript API v2 migrate their code to version 3.
I am implementing anjlab Library for in app purchasing.
I try to purchase item.some time i get error .and error code is 102.
If i again try t0 purchase , Purchasing successful with out showing google purchases dialog.
I am following.
https://github.com/anjlab/android-inapp-billing-v3
Can some one telling about Error Code 102.
what is this? and what is the reason of this ?
Thanks
Error code 102 means Invalid signature.
The error is caused because of the wrong license key.
The solution is to use the proper license key from
Play console > Your App > Development Tools > Licensing & in-app billing
Error Code 102 refers to connection refused.
Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error
Please go through the following link I hope it may help. Link gives the description of network errors but related to Chrome. As your error is a standard error and might not because of your code but due to some configuration settings.
https://support.google.com/chrome/answer/117805?hl=en
I need to made some edit if above thing doesn't help much please go through this questions:
Installing from Android Market. Unknown reason-102
I am creating an app tht uses Google Maps API v2. It works fine, except for a little annoying this, when I use the setMyLocationEnabled(true); method, I get a ClassNotFoundException. I can just click "Resume" and the app continues. When running without debugger, there is nothing you can see happening.
This is what LogCat is saying:
09-23 22:39:31.645: I/dalvikvm(2067): Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lglm;'
09-23 22:39:31.645: W/dalvikvm(2067): Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
09-23 22:39:32.473: W/dalvikvm(2067): VFY: unable to resolve static field 4203 (CREATOR) in Lcom/google/android/gms/location/internal/ParcelableGeofence;
It looks like a missing class in the library, and if I jump into the library project, I indeed do not see that class.
Is there anything I can add / fix to make this exception go away?
I have seen that logcat error before and I noticed it is due to mismatch in my API key between debug and release mode. If you are using separate key store for debug, please make sure you have included both debug and release SHA1+package.name combos in the Google Dev Console.