Android app is crashing due to V/GoogleSignatureVerifier: Signature not valid - android

I have an android app in which I am using Google Maps API for Android v2. It was working fine in my phone until I upgraded my phone to Marshmallow. After updating my phone once I uninstalled it and again installed it using Android Studio it started having random crash. And every time the error was
V/GoogleSignatureVerifier: Signature not valid. Found:
MIIDDTCCAfWgAwIBAgIEPmxzXDANBgkqhkiG9w0BAQsFADA3MQswCQYDVQQGEwJVUzEQMA4GA1UE
ChMHQW5kcm9pZDEWMBQGA1UEAxMNQW5kcm9pZCBEZWJ1ZzAeFw0xNTA5MjExMjE1MDNaFw00NTA5
MTMxMjE1MDNaMDcxCzAJBgNVBAYTAlVTMRAwDgYDVQQKEwdBbmRyb2lkMRYwFAYDVQQDEw1BbmRy
b2lkIERlYnVnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoTlzAY3DX0+vQmRo5stW
izwv76mghc1mbdxQnI16N6Ci/LFPOsiQLfYgt/qqitKCmo2kWWzfKNxN1Qyg5KaFdXRxpM8Ec7Xm
fkMX5cXzJOBDS62uWoDXpjiaXNOBeCvHDwC02EfOGfBd8csnO7sm3htHP8l2Jbn4uAY/zRQ+F4+C
Y477hSMxUvcDYoOoAcsye7pEu1bvPLSRxM44kjjhBFJlLYw6QtzE00khMrwdgBQwSdY0vtUPj9NM
hKGRuGoK/suIpd9e82EhqbUSlYsd62I/HV3390Eo/N2xXCsK7jrRdz6G9MjHfnUQLN80frZXGApl
LWiBti2soI9HhI++dQIDAQABoyEwHzAdBgNVHQ4EFgQU3JFv8ivvt36O8WrsmkXRWYCDbEEwDQYJ
KoZIhvcNAQELBQADggEBAFLFGhfV6F4VOMCdKky6drHD10LzvR8/6QJzf/yp1QARzb3aR319g1my
f6Ffsaam9SKKj6OO92Jz7RTgUvZ6aD5sgRJXKcetmrGNWLGvsg0Rn+OxyEJ6dp4z49Oj5xyXjREp
6zv3QXxENib6EmPYKkFRS6cIe3QOMPsa6Q0KBKQFNnRAW+A+VBAVfEQYB1lgUMXUD+L9pc9EGNcN
zbatMn4FuWeyrhVaiSgMqyNHghUISgAZF76ImkQoPHVwgu7DzQQ44bXAwAbLFIwVhate/C0zN5ps
TjBZ4ojF0Z9mFM9tbLzBYCL2BpNCtYbp9uMpp4YtnX0+2sdxU6vi+ffSeAk=
Looks like updated Google Play services might be causing problem. Help would be appreciated.

This logcat warning is caused by a bug introduced in Google Play Services 9.x. It can be safely ignored, I don't believe it causes a crash, so your crash may be caused by a different issue. The message should go away with a future update to play services.
This issue has been acknowledged by an engineer at Google in the answer to this post.

I had the same issue recently. What caused it for me was when the phone auto updated Google Play Services to version 9.0.83.
The only solution I found was uninstalling the update and allowing Google Play services to re-update.
To remove the update:
Settings > Apps > Google Play services > Hit the three dots and uninstall updates. Then reinstall the updates through the play store.
Start the app and it should ask you to upgrade your Google Play services.
The version was originally 9.0.83 after doing these steps it downgraded to 8.7.03.
I don't feel like this is a solution since I have a few people testing my app and a few of them are having the same issue (the ones on version 9.0.83). I'm not too sure what changed with 9.0.83

I was also getting same exception and I fixed it.
Note: I am working on google analytics and was getting this exception. But my app was not crashing I was getting this in Logs. you can also try this solution.
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 was facing same problem after changing the system and project config.
Try these steps:
Check if you have enabled offline work for gradle: Goto File > Settings > 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'.You can find latest version here: https://jcenter.bintray.com/com/android/tools/build/gradle/
Clean and build the project after the gradle sync completes.
These steps solved the issue for me. In case you've changed the system used for building this app, make sure to update the SHA1 in your project on Google Developer Console and update the Maps API key in your android project.

What fixed it for me was deleting the debug.keystore file found in the .android folder.
figured it out after reading that the debug.keystore file expires after a year and the system needs you to delete so it can create a new one.
https://developer.android.com/tools/publishing/app-signing.html#expdebug

Related

UE4.27.1 Unsupported Google Play Billing Version

I have a problem with packaging Unreal project for android and publishing on Google Play Store.
When uploading it shows an error:
We've detected this app uses an unsupported version Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.
I have project configured for Google Play Billing. And in file in engine/plugins/Online the version is set to 3.0.0. I also tried different versions but with no success. Every answer i found was pointing to this file and at this point nothing seems to work.
If anybody faced a similiar issue and knows the answer i would be extremly thankful.
Download this plugin, add it to your project, and enable it in it's settings under Plugins in Project Settings. You don't have to use it or do anything with it. It just includes the library. Can confirm this will pass the Google Play store check.
https://www.unrealengine.com/marketplace/en-US/product/android-play-billing

Google Play doesn't accept app bundle with any Huawei dependency

When I want to upload app bundle to GooglePlay with any Huawei dependency it gives error without any information.
I tried all of these one by one and every time it gave error until I remove all of these from gradle. I tried to add these dependencies to another app and publish however result was same.
However interestingly I can upload APK without any error.
This problem should be caused by Language package problem.
You can go to the application's build.gradle file, in android->defaultConfig, limit the languege resources to what you'd like to use:
android {
defaultConfig {
...
resConfigs "en", "fr" //pick the languages you'd like to use
}
}
Then rebuild the .aab file and try uploading.
APK can you uploaded, but Google play console showing error (red icon) while uploading app bundle. since google console is not showing any tip or error details. If you are using Huawei services HMS core related libraries in your application you need to use the latest
Huawei push services and it will resolve the problem with app bundle upload.
implementation 'com.huawei.hms:push:5.0.4.302'
You can try to upload APK instead of AppBundle. We faced same issue two weeks ago and fix it with uploading APK.
Update:
Push Kit 5.0.2.300 has not fixed the issue yet. The latest version of SDK will be released in November 16 here. Please update it to 5.0.4.302.
This problem is a known bug and it has been rectified already. Please update the HMS Core SDK to latest version here.

how to update google play services on eclipse?

I use eclipse to develop android.
I get this error:
10-28 15:31:02.020: I/Ads(5593):
Received log message: <Google:HTML> You are using version 8.3 of the Google Play services Ads SDK.
Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes.
See xxxx for instructions on how to get the latest version of Google Play services.
But I use eclipse. documents says for android studio. My project is very big and now I cant convert it for now from eclipse to adt.
UPDATE
I use all of these in another project and it is all fine. I can t understand what happened?
thanks in advance
Google is trying his best to force you to use Android Studio. I had similar problem, then I just manually downloaded play services project and added to my project.
Long store short, you can get it from here:
https://github.com/dandar3/android-google-play-services-ads
this is old, but already configured:
https://dl.dropboxusercontent.com/u/55162356/google-play-services_lib.zip

How to solve the issue with "your app will not work unless you update your google play service"?

I am having Google+ login in my app.I have done all the steps which was mentioned in this link here
The issue is when I run my app it shows "this app will not work unless you update your Google play service".Then I updated my google-play services to its latest version.
later I update the Google-API Intel x86 atom_64 system image under API-21.Still I find the same message to appear.
can't fix this issue need help.Don't know what I am doing wrong.
Check if the feature that you use really needs the latest version of google apis, you can use older versions of the google play services by adding
compile 'com.google.android.gms:play-services:6.5.87'
under dependencies in build.gradle
Try resetting app preferences. Settings>Apps>menu>reset app preferences. This sometimes helps with Play issues.
You have to import google play service from sdk->extras->google->googleplayservices->googleplayservice-lib;
Then rightclick on project -> properties ->add
add the library
to get new version go to sdkmanager->extras->googleplayservice (install or update)
if it is not available then you have to update adt tools and then it will appear.
for that use link
How can I update my ADT in Eclipse?

"This app won't run unless you update google play services" alert

I am getting "Update Google Play Services" alert when running project on emulator. If I click OK then there is one more alert behind it. I keep clicking OK and there are tons of alerts already popped up and I end up giving up.
Message looks as below :
I've tried updating everything in SDK manager. Also tried in Eclipse, Help->Check for updates.
Updated: Jun 27 2019:
The new google x86 emulator with play services is exactly like a device where you can install apps from play store and all other things.
Previous Answer:
I faced similar problem while trying google maps in emulator. While some people have been able to run google play services in their emulator by downloading google play services application from their mobile, making the apk file and then installing that file in emulator, it is really complicated process and works for certain api level only. Same is the case with emulator using google api's that shift with builtin maps and google play services. The maps application will work in emulator while your application asks for update to google play services. So the wise thing to do is to test it in real hardware.
For me, I had to go to settings | apps on my emulator and then find Google Play Services, I then saw that the version number was no where near the current version number (6.7.74 as against the current 7.3.0)
I then went to my dependencies and changed:
compile 'com.google.android.gms:play-services:7.3.0'
to
compile 'com.google.android.gms:play-services:6.+'
You'll get warnings saying a newer version is available and to avoid using + in version numbers but if you've spent the entire day looking for a solution like I did, you could care less.
In android studio changing the depencies work for me:
com.google.android.gms:play-services:5.+
to:
com.google.android.gms:play-services:5.0.+
Now you can also use your emulator to run Android MAP API V2.
Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.
The problem here is that you have an older version of Google Play Services. Update to the latest version by opening the SDK Manager => Extras => Google Play Services.
you can try using new Genymotion Android emulator in which you can update google play services. I have faced this alert and able to update it.
It seems like we can't test latest Google maps API, which is dependant on google play store app which is missing in Google's Android Emulator.
Genymotion Android Emulator comes with Google Play store app.
NOTE: Genymotion v2.0 discontinued packaging virtual machine with google apps , but refer this link to add Google Apps Manually to Genymotion
I had the same issue.
It's nice that in the newer emulators (for version 17 and up) come with the play services included, but what about older versions?
eventually i found the emulators provided by testobject. all their emulators (starting at version 15) come with the updated play services and google APIs (maps v2 etc'), for both ARM and x86.
Check this answer https://stackoverflow.com/a/19734573/3284964. It helped me. For me it works on 4.3 emulator (google play services release 3.2.65) and google play services for froyo lib in my app.
I had a problem with Android Studio when it imported my Eclipse project.
Look for Google Play Services in your build.gradle.
dependencies {
compile 'com.google.android.gms:play-services:+'
}
Change this to use an exact version:
dependencies {
compile 'com.google.android.gms:play-services:5.0+'
}
Then clean build (Build -> Clean Project).
Just did some checking and I realise this question is quite old but, it seems API19 Google Apis Disk Image works with Google Play Services just tested it with an application im working on and it shows the Goolge Maps V2 just fine.
(Only for Android Studio Users)
I have faced the same problem and solved it by updating Android Studio and SDK libraries.

Categories

Resources