<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sundar</title>
    <description>The latest articles on DEV Community by Sundar (@sundarclosedtests).</description>
    <link>https://dev.to/sundarclosedtests</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4197849%2F8b64ec5c-cd36-4052-8a6d-a2dc72747008.png</url>
      <title>DEV Community: Sundar</title>
      <link>https://dev.to/sundarclosedtests</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sundarclosedtests"/>
    <language>en</language>
    <item>
      <title>Six Build Checks I Run Before Every Google Play Closed Test</title>
      <dc:creator>Sundar</dc:creator>
      <pubDate>Wed, 21 Oct 2026 08:44:35 +0000</pubDate>
      <link>https://dev.to/sundarclosedtests/six-build-checks-i-run-before-every-google-play-closed-test-438b</link>
      <guid>https://dev.to/sundarclosedtests/six-build-checks-i-run-before-every-google-play-closed-test-438b</guid>
      <description>&lt;p&gt;Most closed-test problems I get asked about aren't tester problems. They're build problems that look like tester problems. A tester says "it won't install" or "there's no update", and the real cause is a versionCode, a signing key, or a minSdk that quietly shut them out.&lt;/p&gt;

&lt;p&gt;So before I upload anything to a Google Play closed track, I run the same short check. Here it is, with the reasoning.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjowcv6hn8s0yk5hjh9io.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjowcv6hn8s0yk5hjh9io.png" alt="Six build checks before a Google Play closed test" width="799" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Bump the versionCode, every time
&lt;/h2&gt;

&lt;p&gt;Play Console won't accept a bundle whose &lt;code&gt;versionCode&lt;/code&gt; has already been used for that app, and testers only get an update when the new code is higher than what they have installed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="c1"&gt;// app/build.gradle.kts&lt;/span&gt;
&lt;span class="nf"&gt;android&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;defaultConfig&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;versionCode&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;14&lt;/span&gt;        &lt;span class="c1"&gt;// must be higher than the last upload&lt;/span&gt;
        &lt;span class="n"&gt;versionName&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"1.0.3"&lt;/span&gt;   &lt;span class="c1"&gt;// what testers see&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you build in CI, derive it from something that only goes up (a build number), not from the date string you might reuse.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Upload an App Bundle signed with your upload key
&lt;/h2&gt;

&lt;p&gt;New apps go to Play as an Android App Bundle (&lt;code&gt;.aab&lt;/code&gt;), and with Play App Signing Google re-signs what testers download. What you sign with is your &lt;strong&gt;upload key&lt;/strong&gt;. Two things I check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The release build is signed with the upload key registered in Play Console, not a debug key.&lt;/li&gt;
&lt;li&gt;The build isn't &lt;code&gt;debuggable&lt;/code&gt;. Play rejects debuggable bundles.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./gradlew bundleRelease
&lt;span class="c"&gt;# then confirm which certificate signed it&lt;/span&gt;
keytool &lt;span class="nt"&gt;-printcert&lt;/span&gt; &lt;span class="nt"&gt;-jarfile&lt;/span&gt; app/build/outputs/bundle/release/app-release.aab
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Don't mix sideloaded builds with the Play build
&lt;/h2&gt;

&lt;p&gt;This one causes a lot of "App not installed" messages. If a tester sideloaded an APK you signed yourself (debug or a local release key), the Play-signed build has a different signature. Android won't install one over the other.&lt;/p&gt;

&lt;p&gt;The fix is boring: ask that tester to uninstall the sideloaded copy, then install from the Play Store link on the opt-in page. Uninstalling the app is fine. Tapping "Leave the program" is the thing to avoid.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6plhzzasji6yluu1dahb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6plhzzasji6yluu1dahb.png" alt="Example: common build-side reasons a closed tester can't install" width="799" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Check minSdk and device filters against your testers' phones
&lt;/h2&gt;

&lt;p&gt;A high &lt;code&gt;minSdk&lt;/code&gt;, a required hardware feature in the manifest, or a narrow ABI list can make the app "not compatible" with a tester's device. In Play Console, the device catalog for your app shows which devices your current bundle supports. I look there before blaming the tester.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- make optional hardware optional, or some phones get filtered out --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;uses-feature&lt;/span&gt; &lt;span class="na"&gt;android:name=&lt;/span&gt;&lt;span class="s"&gt;"android.hardware.camera"&lt;/span&gt; &lt;span class="na"&gt;android:required=&lt;/span&gt;&lt;span class="s"&gt;"false"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Meet the current target API level
&lt;/h2&gt;

&lt;p&gt;Play sets a minimum &lt;code&gt;targetSdk&lt;/code&gt; for new apps and updates, and it moves up roughly once a year. I check the current number in Play Console Help before each first upload instead of trusting memory, because a bundle below it gets blocked at upload time.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Send the release to review and confirm it's live on the closed track
&lt;/h2&gt;

&lt;p&gt;Uploading isn't publishing. After I roll out to the closed track, I check the Publishing overview so the change actually goes to review, then wait for the track to show the release as available before I send testers the opt-in link.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this doesn't fix
&lt;/h2&gt;

&lt;p&gt;None of this gets you production access by itself. For newer personal developer accounts, Google still wants at least 12 testers opted in for 14 continuous days on a closed track, and it reviews the production access application on its own terms. A clean build just means the testers you invite can actually install and stay in.&lt;/p&gt;

&lt;p&gt;I keep the full pre-launch list, including the tester side, as a free &lt;a href="https://www.12testers14day.com/tools/google-play-closed-testing-checklist" rel="noopener noreferrer"&gt;Google Play closed testing checklist&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>android</category>
      <category>googleplay</category>
      <category>mobile</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
