Dev.to WebDev 🛠 Dev 👁 0 📖 3 min read

How to publish a Lovable or Bolt app to Google Play without Android Studio (2027)

You built a web app with Lovable, Bolt or Vite + React, and now you want it on Google Play. Most guides start with "install Android Studio, open the project, Build > Generate Signed Bundle". You don't need any of that. G

You built a web app with Lovable, Bolt or Vite + React, and now you want it on Google Play. Most guides start with "install Android Studio, open the project, Build > Generate Signed Bundle". You don't need any of that. GitHub Actions can build and sign the bundle on a free Linux runner, and you upload one file.

Here's the path I use, plus the Play Console rules that block most first releases.

1. Wrap the app with Capacitor

npm i @capacitor/core@^8 @capacitor/cli@^8 @capacitor/android@^8
npx cap init "My App" com.mycompany.myapp --web-dir dist
npm run build
npx cap add android

Commit the generated android/ folder. Two small fixes save you a failed first run:

  • Make gradlew executable for the Linux runner, even if you commit from Windows:
git update-index --add --chmod=+x android/gradlew
  • Let CI set the version code, so every upload gets a higher number. In android/app/build.gradle, replace versionCode 1 with:
versionCode((project.findProperty('versionCode') ?: '1') as Integer)

2. Create an upload key (once)

keytool -genkeypair -v -keystore upload.jks -alias upload -keyalg RSA -keysize 2048 -validity 10000

keytool ships with any JDK. On Windows, Android Studio isn't needed: install Temurin 21 and run the same command.

Keep upload.jks and its password somewhere safe and never commit it. If you lose it, Google can reset the upload key, but it takes days.

Base64-encode it and add three repo secrets: ANDROID_KEYSTORE_BASE64, ANDROID_KEYSTORE_PASSWORD and ANDROID_KEY_ALIAS (upload).

[Convert]::ToBase64String([IO.File]::ReadAllBytes("upload.jks")) | Set-Clipboard

3. The workflow

jobs:
  android:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with: { node-version: 24, cache: npm }
      - uses: actions/setup-java@v4
        with: { distribution: temurin, java-version: 21 }
      - run: npm ci && npm run build && npx cap sync android
      - name: Build release bundle
        run: cd android && ./gradlew bundleRelease --no-daemon -PversionCode="$GITHUB_RUN_NUMBER"
      - name: Sign with upload key
        # env: map KS_B64, KS_PASS and KS_ALIAS from the three repo secrets
        run: |
          echo "$KS_B64" | base64 --decode > "$RUNNER_TEMP/upload.jks"
          AAB=android/app/build/outputs/bundle/release/app-release.aab
          jarsigner -keystore "$RUNNER_TEMP/upload.jks" -storepass "$KS_PASS" -keypass "$KS_PASS" \
            -sigalg SHA256withRSA -digestalg SHA-256 "$AAB" "$KS_ALIAS"
          rm -f "$RUNNER_TEMP/upload.jks"
      - uses: actions/upload-artifact@v4
        with:
          name: android-release-aab
          path: android/app/build/outputs/bundle/release/app-release.aab

About 5 minutes per run, and Linux minutes are free on public repos. Download app-release.aab from the run's Artifacts section.

4. The Play Console part

  1. Pay the one-time $25 and finish identity verification.
  2. Create app > Testing > Internal testing > Create release. Upload the .aab and accept Play App Signing. Google keeps the real signing key; yours is only the upload key.
  3. The first upload must be done by hand. After that you can keep uploading by hand or automate it with a service account.

5. Things that block the first release

  • 12 testers for 14 days. New personal developer accounts must run a closed test with at least 12 opted-in testers for 14 continuous days before they can apply for production. Start the closed test on day one, not when the app is "done".
  • Data safety form. Declare everything your app and its SDKs collect, including analytics and crash reporting. A mismatch with your privacy policy gets the update rejected.
  • Account deletion. If users can create an account, Google requires an in-app path and a web link to delete it.
  • Store listing assets. At least 2 phone screenshots, a 512×512 icon and a 1024×500 feature graphic.
  • Target API level. New apps must target a recent Android API level. Capacitor 8 already does, so don't lower targetSdkVersion.

Want the iOS half too?

The same repo can build for iOS with Xcode 27 on GitHub's macOS runners, no Mac needed. I wrote that up here: How to put a Lovable or Bolt app on the App Store without a Mac.

I also packaged both pipelines as the Ship It Kit: one setup command (it makes the gradle and gradlew fixes above for you), the full iOS + Android workflow, a step-by-step store guide and a rejection checklist.

👉 https://klikron.gumroad.com/l/inciyd/LAUNCH29 ($29 instead of $49 for the first 20 readers)

Questions welcome in the comments. I'll answer every one.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.