google-play-developer-api

Google Play publishing fails with “Track names in request path and request body must match”

為{幸葍}努か 提交于 2020-05-13 22:14:43
问题 I'm using Codemagic to build and publish apks to Google Play's internal track, on March 10 it was working fine, but today I got this: Publishing 35s == Gathering artifacts == == Publishing artifacts == Publishing artifact app.apk Publishing artifact app-prod-armeabi-v7a-release.apk Publishing artifact app-prod-x86_64-release.apk Publishing artifact app-prod-arm64-v8a-release.apk Publishing artifact mapping.txt Publishing app.apk, app-prod-armeabi-v7a-release.apk, app-prod-x86_64-release.apk,

Get User ID From Google Play Games API?

≯℡__Kan透↙ 提交于 2020-02-25 06:56:06
问题 I'd like to be able to link users in one game to users in another game such that users that unlock certain achievements in game 1 are able to receive special items in game 2. This is very similar to how Blizzard does it where buying like X in Hearthstone gives you a special mount in WoW. I know we could manage our own account system but we're hoping there's an easy way around that. I've been researching Google Play Games and it seems like that could be the ticket but I can't seem to figure

Google Play Services fails to connect

爱⌒轻易说出口 提交于 2020-01-25 11:58:16
问题 I am trying to connect my app to Google Play Services but, as I can check, it seems not to connect it properly. When I click the button which checks if it is connected it returns me that is not connected. However the app accesses to the Google Play Services and lets me to check which e-mail account to use. Here is the code: public class MainActivity extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener { /** * ATTENTION: This was

How to open “All” by default instead of “Social” in Google Leaderboard?

老子叫甜甜 提交于 2020-01-13 12:06:53
问题 I have integrated Google Leaderboard in my android game app. When I open it, it goes to "Social" mode by default (aka my Google circle). I need to manually switch to "All" mode (players from all around the world). How can I make "All" mode default? 回答1: There is an overloaded method that takes all the parameters: getLeaderboardIntent (GoogleApiClient apiClient, String leaderboardId, int timeSpan, int collection) You can get the intent and display the all leaderboard by: Intent intent = Games

How to change the Android in-app product local prices through Android publisher?

流过昼夜 提交于 2020-01-07 03:04:36
问题 The back end server of our system is supposed to update the prices of user-created in-app products for our Android app in Google Play store. The back end is written in C# and we use the "patch" service of Android Publisher to do that with the option "autoConvertMissingPrices" switched to "true". https://developers.google.com/android-publisher/api-ref/inappproducts/patch However, all it does is change the default price while the local prices stay unchanged. I guess we need something like the

Device Supports <Undefined> , but APK only supports x86

别说谁变了你拦得住时间么 提交于 2019-12-23 23:03:07
问题 I'm trying to deploy and debug an app for different CPU ABis via my Android Emulator but get this error. It doesn't specify what ABI the Emulator supports. I've tried running an APK that supports all ABIs but still get the same error. This only happens to Emulators with a Google Play System Image. I have no issues deploying to the clean x86 System Image which isn't Google Play or Google APIs. I'm running on Windows 10 64-bit, and on HAXM 6.1.2. Any ideas? 回答1: Check this stackoverflow

Is there a limit on how many updates on single apk to publish or upload on Android Market (Google Play Store)?

泪湿孤枕 提交于 2019-12-21 05:14:06
问题 I did the googling and checked all the relevant questions on StackOverflow but question is still standing: Is there a limit on how many updateson single apk publish on Android Market? Thanks. 回答1: You can upload a max of 15 apks in a day to the andriod play store (including new apps or updates on same or different apps). To continue uploading more you have to return after 24 hours of the last upload timestamp. Here is what you'll see when trying to upload the 16th apk. UPDATE: Recently

Verify a Purchase using Firebase Functions

感情迁移 提交于 2019-12-20 11:03:49
问题 I want to verify purchases in my app using Firebase Functions and Purchases.products: get But I don't know how to use the authorization Scope from the link or how to build the request in Firebase Functions. This is what I have so far: const functions = require('firebase-functions'); const admin = require('firebase-admin'); const google = require("googleapis"); const publisher = google.androidpublisher('v2'); admin.initializeApp(functions.config().firebase); exports.validatePurchases =

How to update Google Play Services for Android Studio 2.2 emulators?

☆樱花仙子☆ 提交于 2019-12-17 07:42:09
问题 There are a number of variations of this question, however most are very old, and don't really answer the question at all. I'm NOT asking how to install Play Services, that is installed in the Studio 2.2 emulators. The problem is that these emulators are using an old version of Play services. When I run a test app that uses Firebase to facilitate Google login I get this alert dialog from a Nexus 5 API 23 emulator: In the onCreate method of my login activity I have this code: int result =

Android In app purchases Server Error DF-AA-20

£可爱£侵袭症+ 提交于 2019-12-13 03:34:59
问题 Hope you all are fine. I am trying to add in app purchases in my app.. Using google demo Trivial drive . I configure each and every thing in my play store account.. I don't know why I still am getting error retrieving information for the server. [DF-AA-20] Please anybody know the solution.. Much appreciated.. :) 回答1: As it says in the Testing in-app billing tutorial you need to upload a version of your App to the Play store and publish it (even if only to an Alpha testing track) before you