Ron K
Posted on Nov 30
AI-assisted
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
Enter fullscreen mode
Exit fullscreen mode
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
Enter fullscreen mode
Exit fullscreen mode
Let CI set the version code, so every upload gets a higher number.β¦