Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GoogleSignatureVerifier signature not valid message (google play services 9.0.0)

I have recently updated to the google play services library version 9.0.0, and I keep getting the following logcat message:

05-19 23:07:30.023 19237-19508/? V/GoogleSignatureVerifier: options.developer.com.developeroptions signature not valid.  Found: 

While my app isn't using the google maps api but it is using the analytics, ads, and google plus apis.

The only mention in the documentation regarding the usage of the api key is when using google maps, or android places api.

I have also tried adding the 'com.google.android.geo.API_KEY' with a correct key but it didn't help.

here is my gradle.build file:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "options.developer.com.developeroptions"
        minSdkVersion 9
        targetSdkVersion 23
        versionCode 23
        versionName "1.06"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}


dependencies {
    compile 'com.google.android.gms:play-services-plus:9.0.0'
    compile 'com.android.support:appcompat-v7:23.2.0'
    compile 'com.google.android.gms:play-services-analytics:9.0.0'
    compile 'com.google.android.gms:play-services-ads:9.0.0'
}
like image 400
meh Avatar asked May 19 '16 20:05

meh


3 Answers

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.

like image 169
Ian Barber Avatar answered Oct 12 '22 10:10

Ian Barber


You will find a lot of solutions on the net, but the only one who works for me was to downgrade the Google Play Services to 8.7.02 version on my devices. I hope Google will fix this error rapidly :')

like image 40
Filoux Avatar answered Oct 12 '22 09:10

Filoux


As mentioned in the other answers, its the Google Play Services 9 update to the device. You can have these options until google fix the bug:

  • Safely ignore it

  • Downgrade your phone/device using Settings->Apps->Google play services->(three dots on top right menu)->Uninstall

    If the Disable/Force Stop buttons are greyed out you may need to remove the app from being a 'device administrator' before uninstalling it.

Google plus blog relating to the bug: https://plus.google.com/+ChristopheBeyls/posts/LC2XCSoaVBJ

Removing/Recreating the keystore.debug file is unlikely to help. If you've done this already then you'll need to create a new one using the 'map api developer console'

like image 1
JMax Avatar answered Oct 12 '22 11:10

JMax