{"_id":"590a04f8ed80861900cbc7b7","parentDoc":null,"user":"55b2d5626862a10d00887af9","version":{"_id":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":4,"createdAt":"2017-05-03T16:27:30.085Z","releaseDate":"2017-05-03T16:27:30.085Z","categories":["590a04f3ed80861900cbc738","590a04f3ed80861900cbc739","590a04f3ed80861900cbc73a","590a04f3ed80861900cbc73b","590a04f3ed80861900cbc73c","590a04f3ed80861900cbc73d","590a04f3ed80861900cbc73e","590a04f3ed80861900cbc73f","590a04f3ed80861900cbc740","590a04f3ed80861900cbc741","590a04f3ed80861900cbc742","590a04f3ed80861900cbc743","590a04f3ed80861900cbc744","590a04f3ed80861900cbc745","590a04f3ed80861900cbc746","590a04f3ed80861900cbc747","590a04f3ed80861900cbc748","590a04f3ed80861900cbc749","590a04f3ed80861900cbc74a","590a04f3ed80861900cbc74b","590a04f3ed80861900cbc74c","590a04f3ed80861900cbc74d","59124949de13f61900336a7a","5914b04e7c2c552d008b7104","5914b47242c6a22300b9dc20"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"7.0.0","version":"7"},"__v":0,"category":{"_id":"590a04f3ed80861900cbc74c","__v":0,"version":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-05T19:32:59.974Z","from_sync":false,"order":22,"slug":"troubleshooting","title":"Troubleshooting"},"project":"55b2d5baa74a380d00e290c4","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-27T22:52:12.090Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":14,"body":"Google play errors are generally rooted in the following issues:\n1. You are attempting to upload an apk signed with a different keystore that what's already uploaded.\n2. You are attempting to upload a debuggable apk. \n3. You are attempting to upload an apk into a later track with a higher versioncode than an apk in an earlier track.\n4. You are attempting to upload an apk with the same versioncode as one that has already been uploaded.\n5. You are attempting to run two tests across two different tracks in google play at the same time.\n\n\n\nGoogle has documented the restrictions on version codes/testing/tracks here (we've quoted the relevant portions):\nhttps://support.google.com/googleplay/android-developer/answer/3131213#availability\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Version code requirements\",\n  \"body\": \"Alpha testing group users are eligible for the alpha, beta, or production version of your app (with the highest version code that's compatible with their device). Beta testing group users are only eligible for the beta or production version of your app (with the highest version code that's compatible with their device).\\n\\n**This means your alpha APKs should have the highest version codes, followed by beta, and finally production.\\n**\\nIf a beta APK is uploaded with a higher version code than an alpha APK, alpha users who can install both will install the beta APK instead of the alpha APK.\\nIf a production APK is uploaded with a higher version code than an alpha or beta APK, some or all of your alpha and beta users will install the production APK, instead of APKs of the testing tracks. \\nFor more information, learn about versioning your apps.\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Running Multiple Tests\",\n  \"body\": \"If you want to run multiple tests on the same app, keep the following in mind:\\n\\n**We recommend you set up one test as a closed alpha and another as an open beta.** This works because you can run one test at a time per testing method (e.g. open & closed).\\nIf you run an open alpha test, you can't use the open or closed beta track. This happens because you can't run two open tests simultaneously or run a closed beta given version code requirements.\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Automated Google Play Deployment\",\n  \"body\": \"Based off what we've observed, there seems to be additional restrictions when deploying using google's apis, compared to uploading apks manually using the google play console. \\n\\nIn other words, you might be able to upload an apk manually while uploading using Buddybuild might fail due to additional rules that must be respected when using their apis.\"\n}\n[/block]\n## Troubleshooting Errors\n\n### MultiApkShadowedActiveApk\n\"Version <version> of this app can not be downloaded by any devices as \nthey will all receive APKs with higher version codes.\",\n \nThis error indicates that there lies ***another*** apk with the indicated versioncode in one of your tracks, that precludes you from uploading your apk.\n\nOne of the likely reasons for this error is that you're trying to push an apk with a higher version code to a later track (i.e. beta) than what is in your earlier tracks (i.e. alpha).\n\nYou are **not** allowed to do this via automated deployment.","excerpt":"","slug":"troubleshooting-google-play-errors","type":"basic","title":"Troubleshooting Google Play Errors"}

Troubleshooting Google Play Errors


Google play errors are generally rooted in the following issues: 1. You are attempting to upload an apk signed with a different keystore that what's already uploaded. 2. You are attempting to upload a debuggable apk. 3. You are attempting to upload an apk into a later track with a higher versioncode than an apk in an earlier track. 4. You are attempting to upload an apk with the same versioncode as one that has already been uploaded. 5. You are attempting to run two tests across two different tracks in google play at the same time. Google has documented the restrictions on version codes/testing/tracks here (we've quoted the relevant portions): https://support.google.com/googleplay/android-developer/answer/3131213#availability [block:callout] { "type": "info", "title": "Version code requirements", "body": "Alpha testing group users are eligible for the alpha, beta, or production version of your app (with the highest version code that's compatible with their device). Beta testing group users are only eligible for the beta or production version of your app (with the highest version code that's compatible with their device).\n\n**This means your alpha APKs should have the highest version codes, followed by beta, and finally production.\n**\nIf a beta APK is uploaded with a higher version code than an alpha APK, alpha users who can install both will install the beta APK instead of the alpha APK.\nIf a production APK is uploaded with a higher version code than an alpha or beta APK, some or all of your alpha and beta users will install the production APK, instead of APKs of the testing tracks. \nFor more information, learn about versioning your apps." } [/block] [block:callout] { "type": "info", "title": "Running Multiple Tests", "body": "If you want to run multiple tests on the same app, keep the following in mind:\n\n**We recommend you set up one test as a closed alpha and another as an open beta.** This works because you can run one test at a time per testing method (e.g. open & closed).\nIf you run an open alpha test, you can't use the open or closed beta track. This happens because you can't run two open tests simultaneously or run a closed beta given version code requirements." } [/block] [block:callout] { "type": "warning", "title": "Automated Google Play Deployment", "body": "Based off what we've observed, there seems to be additional restrictions when deploying using google's apis, compared to uploading apks manually using the google play console. \n\nIn other words, you might be able to upload an apk manually while uploading using Buddybuild might fail due to additional rules that must be respected when using their apis." } [/block] ## Troubleshooting Errors ### MultiApkShadowedActiveApk "Version <version> of this app can not be downloaded by any devices as they will all receive APKs with higher version codes.", This error indicates that there lies ***another*** apk with the indicated versioncode in one of your tracks, that precludes you from uploading your apk. One of the likely reasons for this error is that you're trying to push an apk with a higher version code to a later track (i.e. beta) than what is in your earlier tracks (i.e. alpha). You are **not** allowed to do this via automated deployment.