I have started using Google Play Game Services plugin for unity lately in my game Dodgy for android and the plugin doesn't seem to work!
I have tried following what they say on GitHub installed all the necessary tools and plugins and it still doesn't work, What exactly happens is when I start my app and try to sign in nothing happens.
Any help would be greatly appreciated...
The Tools I Use...
Latest Android Studio as of today with all plugins and tools installed
Unity 2018.3b7
The latest version of Visual Studio 2017*
The latest GPGS plugin on GitHub*
Steps to check.
Make sure you are using signed APK
Make sure you have published your game on Google Play Services.(The place where you created leaderboards & achievements)
Check SHA1 for your KeyStore file & compare it with Google Developer Console's SHA1 for that project.
I have the same problem and I found what I did wrong. If you have confirmed that your package has been properly signed but still not working. Look back in your code.
If you use the plugin(most likely), you need to use PlayGamesPlatform namespace functions other than the Social ones.
Or the Play Games login won't even pop, yet it does pop if you check Development Build which would be confusing. Hope this would save time for those who come after me
Related
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
Can someone please tell me if switching to Beta version of Android Studio, it doesn't make problems in future to publish app or app updates on Google Play?
App updates are related to your code, not the IDE. If you really wanted to, you could even write out the entire app in Notepad/Vim and compile via CLI.
The only difference between Android Studio GA and Beta versions is that Beta versions have tendencially got more bugs and issues. Nothing that should hinder publishing an app to App stores in any way.
Personally, if you are newby, I would stick with Release versions, keep them updated (your dependencies as well) but either way you should be OK.
Hope it helps.
I am working on Xamarin.Form application(Android and iOS). Want to generate the APK file in release mode to upload into the Google Play store.
I have followed the instruction of this Microsoft docs article & getting below Exception
Google Play Store: Authorize: The type initializer for
'Google.Apis.Json.NewtonsoftJsonSerializer' threw an exception
I have already tried following things
Clean my entire solution.
Deleted and re-added the Newtonsoft.Json package(tried with both an older version and new versions)
Added the Newtonsoft.Json dll in Skip linking
assemblies under Android Options in Properties.
Please Check this
As a workaround you should be able to make an ad-hoc .APK and upload that to Google Play.
https://developer.xamarin.com/guides/android/deployment,testing,_and_metrics/publishing_an_application/part_3-_publishing_an_application_on_google_play/manually-uploading-the-apk/
I would advise to upgrade Visual Studio, since many problems reported referred to an older version.
I am developing an Android game and currently trying to integrate with Google Play Game Services. I got stuck at the sign-on feature.
I use GoogleSignIn, getIntent, startActivityForResult etc. - all as described in Google manual. I think all's setup correctly, because when I build the app, deploy to Google Store (Internal Tests), and then I install it from there, all looks good: onActivityResult is called with result.isSuccess()==true and GoogleSignIn.getLastSignedInAccount returns != null.
The problem is when I try to run the app from Android Studio (or install APK manually). In this case, onActivityResult is called with SIGN_IN_REQUIRED and getLastSignedInAccount is always null. I am pretty sure all's setup fine (APK is signed, Android Studio is configured to sign the APKs etc.).
To ensure it's not about my Android Studio setup, I have installed manually exactly the same APK which I uploaded to Google Store but again - result is the same. When installed from Google Store, it's OK, when installed manually it's not (again: exactly the same APK binary).
Can you please help me? Theoretically I could continue development, but each I'd like to test something I'd need to upload new version to Google Store...
Thank you
Hmmm...its usual DEVELOPER ERROR, what you can do it..add your SHA1 code on firebase console, and it will work, it is showing this behaviour caus your signed key SHA1 is already added, that why it is working on release build and not on debug build, add your systems SHA1
How to get SHA1?
usually right side of android studio have a bar which says gradle click on it, expand it got to app>Tasks>android>signing report double click it...it will give you your SHA1, paste it on firebase console, wait for 1-2 minutes and check. It will work.
I am a newbie to Android programming and i started putting together an application using Google Maps using Eclipse with KitKat SDK. I developed a simple app to display Google Maps in the Emulator by installing com.android.vending(4.6.16) and com.google.android.gms(4.3.25) apks. I downloaded these APKs from different sites(not sure how authentic they are).
I am making use of the command aapt dump badging to determine the version.
The map opens but i was repeatedly getting a message that "Unfortunately Play Services has stopped"
Objective is to ensure that I am using the right set of APKs with the emulator
The trouble that i am facing is there seems to be no clear directives on where i can find the authentic version of these APKs. I tried Google Play and when i give a search for com.google.android.gms, it yields a result of applications. I was expecting a URL to download the recent version of the APK. Correct me if i am wrong
1. How to download just the recent version of APKs from Google Play ? Am i looking at the correct site
2. Second is there any authorized site from where i can download these APKs?
I was looking for a listing of the APKs with the version number against it. So that i can download the version that i need. I am not sure of the dependencies of the APKs on the Android platform.
3. Finally is there any dependency between com.google.android.gms.apk and the com.android.vending.apk on the basis of the version or the SDK platform used?
Thanks
Govindarajan
I have a suggestion, Try to use Genymotions for testing maps/places app. it is faster than emulator and you can build and check maps application.
www.genymotion.com/
LINK