PWAValidator

Check your PWA, generate a complete Capacitor Android project ZIP, and build an APK or Play Store AAB on your own computer — no Android Studio required.

Validate PWA
›
Generate Android Project
›
Build Android App
PWAValidator

About PWAValidator

Free tool by cubiczo.com · No sign-up · PHP 7.2+ · support@cubiczo.com

What is this tool?

PWAValidator helps you turn a Progressive Web App (PWA) into an Android app in three stages. It checks your PWA, creates a Capacitor Android project ZIP, and gives you scripts to build the app on your computer.

STEP 01

🔍 Validate Your PWA

Checks HTTPS, the web app manifest (app name, icons, colors), icons, and service worker (offline support). Shows PWA Build Readiness and Play Store Readiness scores.

STEP 02

📦 Generate Your Android Project

Creates a complete Capacitor 6 Android project with launcher icons, the Gradle wrapper, build scripts, and documentation.

STEP 03

📱 Build Your Android App

Choose a debug APK for testing or direct install, or build an AAB for Google Play. You sign the AAB with your own keystore before upload.

Which download do I need? Choose APK Project ZIP to test or install the app on a phone. Choose AAB Project ZIP to publish on Google Play. The AAB must be signed with your keystore before upload.

Missing PWA files? The optional PWA Fix Kit can supply a corrected manifest, the required icons, a service worker, and an offline page.

Prerequisites — install these once

You need three free tools on the computer that will build the app. This website cannot detect them from your browser.

ToolVersionWhyDownload
Java JDK17–21Compiles the Android appadoptium.net
Node.js18 LTS+Runs Capacitor and the npm toolsnodejs.org
Android SDKPlatform 36 + build-tools 34.0.0Provides the Android build filesCommand-line tools
💡 Android SDK without Android Studio: Download the Android command-line tools, extract them, then run:
sdkmanager "platforms;android-36" "build-tools;34.0.0" && sdkmanager --licenses

Build Your Android App — No Android Studio Required

Download the project ZIP, extract it, open Command Prompt in the folder, and run one build command. The ZIP includes the Gradle wrapper and the Android project files you need.

  1. Download the project ZIP. Choose APK Project ZIP for testing or direct install, or AAB Project ZIP for Google Play. Both contain the same Android project. The filename includes your app name, for example OnX-Reach-APK-Project.zip.
  2. Extract the ZIP. Right-click the download and choose Extract All. Open the extracted folder; build.bat is directly inside it, with no extra project folder to open.
  3. Open Command Prompt there. Click the Explorer address bar, type cmd, and press Enter. On macOS or Linux, open Terminal in that folder instead.
  4. Build it. Run build.bat debug for a test APK or build.bat aab for a Play Store bundle. The app-named files are normally in output\, for example output\OnX-Reach-debug.apk and output\OnX-Reach-release.aab; confirm the final path printed by the script. The default AAB may be unsigned, so complete release signing and verify the signed output before uploading to Google Play.
Prerequisites: JDK 17–21, Node.js 18+, Android SDK platform 36 + build-tools 34.0.0, and internet for the first build. No Android Studio IDE is required.
Optional check: run setup_check.bat (or ./setup_check.sh) if a build cannot find Java, Node.js, the Gradle wrapper, or the Android SDK. It is not a required step.

Build a debug APK (for testing or direct install)

Build a debug APK (testing / direct install)

  1. Install the prerequisites — JDK 17, Node.js 18+, Android SDK platform 36, and build-tools 34.0.0.
  2. Check the environment (optional) — setup_check.bat (Windows) or ./setup_check.sh (Linux/macOS) checks Java, Node.js, the Gradle wrapper, the plugins, and the Android SDK. Skip this if the build already works.
  3. Build the debug APK — Run build.bat debug (or ./build.sh debug). The debug APK is intended for installation and testing on an Android device; it is not the file you upload to Google Play. The script runs npm install, npx cap sync android, finds the SDK, then runs gradlew assembleDebug.
  4. Collect the APK — The build script normally places the generated APK in the project's output\ folder, for example output\OnX-Reach-debug.apk (Linux/macOS: output/OnX-Reach-debug.apk). Confirm the final path printed by the script. The normal Gradle file remains at android\app\build\outputs\apk\debug\app-debug.apk.
# Manual equivalent (build.bat already does this) npm install npx cap sync android # Windows: detect/write the SDK path; Linux/macOS: ./find_sdk.sh find_sdk.bat cd android gradlew.bat assembleDebug # Windows ./gradlew assembleDebug # Linux / macOS
💡 Android SDK configuration: If android/local.properties already points to a working SDK, the build keeps it. Otherwise build.bat / build.sh look for ANDROID_HOME, ANDROID_SDK_ROOT, and common locations such as %LOCALAPPDATA%\Android\Sdk on Windows. They only update android/local.properties when the old value is missing or invalid, and stop with clear instructions if no SDK is found.
Do not copy local.properties.example over a working android/local.properties.
Manual format (spaces allowed): sdk.dir=C:/Users/YourName/AppData/Local/Android/Sdk
Check without changing anything: find_sdk.bat --check or ./find_sdk.sh --check.
⚠ Package name: Choose your App ID carefully (e.g. com.yourcompany.appname). It can never be changed after publishing to Play Store.

Build and sign an AAB for Google Play

Prepare a signed release AAB (Google Play)

  1. Test a debug build first — Build the debug APK and install it on a phone to check the main screens and features before preparing a Play Store release. The debug APK is for testing, not distribution.
  2. Create and back up a keystore — Run this in the extracted project folder so release.jks sits beside android/. The keystore identifies you as the app owner. Keep it private, back it up, and never commit it: keytool -genkey -v -keystore release.jks -alias com.yourcompany.appname -keyalg RSA -keysize 2048 -validity 10000
  3. Build the Android App Bundle — Run build.bat aab (or ./build.sh aab). This command builds an Android App Bundle for release preparation. The default generated AAB may be unsigned. A successful build does not mean the bundle is signed, ready for production, or approved by Google Play. The script normally copies the AAB to output\OnX-Reach-release.aab (Linux/macOS: output/OnX-Reach-release.aab) after Gradle succeeds; confirm the final path printed by the script. Gradle also keeps its normal AAB under android\app\build\outputs\bundle\release\.
  4. Sign, verify, then upload — Sign the AAB with your keystore using a Gradle signing config or the command below. The signed file is written under android\app\build\outputs\bundle\release\. Verify its signature before upload, then upload that signed AAB to the Play Console, starting with Internal testing. Do not upload the earlier unsigned copy in output\.
⚠ Not automatic: validation scores show PWA/manifest readiness only. A passing score does not guarantee compilation or Google Play approval. By default, the AAB created by build.bat aab is unsigned until you sign with your keystore. The ZIP does not include a signing key.
Before uploading to Google Play:
  • Confirm that you have the intended release AAB.
  • Complete the appropriate release-signing process.
  • Verify that you are uploading the signed release artifact, not the original unsigned AAB.
  • Follow the current Google Play Console requirements for app signing and release submission.
Protect your signing credentials: Keep your keystore and signing passwords private and securely backed up. Never use example passwords as real credentials. Do not commit keystores or real signing credentials to source control, include them in public ZIP packages, or share them in screenshots, logs, or support requests. Prefer Gradle properties or CI secrets over command-line passwords, which may be retained in shell history or process lists.
# Windows: create a signed AAB after making the keystore cd android gradlew.bat bundleRelease -PKEYSTORE_FILE=../../release.jks -PKEYSTORE_PASSWORD=YOUR_STORE_PASSWORD -PKEY_ALIAS=com.yourcompany.appname -PKEY_PASSWORD=YOUR_KEY_PASSWORD # Linux / macOS ./gradlew bundleRelease -PKEYSTORE_FILE=../../release.jks -PKEYSTORE_PASSWORD=YOUR_STORE_PASSWORD -PKEY_ALIAS=com.yourcompany.appname -PKEY_PASSWORD=YOUR_KEY_PASSWORD # Relative keystore paths resolve from android/app/; ../../release.jks reaches the project root. # Verify the signed AAB (jarsigner ships with the JDK) jarsigner -verify -verbose -certs app\build\outputs\bundle\release\app-release.aab

Build outputs

BuildCommandFinal output and use
Debug APKbuild.bat debugoutput\<app-name>-debug.apk (for example output\OnX-Reach-debug.apk)
Install and test on a phone. Do not upload this APK to Google Play.
Release APK (unsigned)build.bat releaseoutput\<app-name>-release-unsigned.apk
Sign it before installing or distributing. Not the Play Store upload format.
Release AABbuild.bat aaboutput\<app-name>-release.aab (for example output\OnX-Reach-release.aab)
This copy is normally unsigned. Sign and verify the release AAB, then upload the signed file from android\app\build\outputs\bundle\release\. An AAB cannot be installed directly.
Path check: the app-named copy is created only after Gradle succeeds and the source artifact exists. The build script prints the final path; use that printed path if it differs from the examples above.

Native sharing (Share + Filesystem)

The project includes the configured @capacitor/share 6.0.4 and @capacitor/filesystem 6.0.4 plugins where supported by the generator, matching Capacitor 6.2.2. npm install installs them and npx cap sync android registers :capacitor-share and :capacitor-filesystem in the Android project. The build scripts verify both plugins before Gradle runs.

⚠ Remote websites are not modified: installing plugins alone does not add native sharing to every PWA. The website loaded in the app must call the Capacitor API. A site that only calls navigator.share is using the browser Web Share API, which is not guaranteed inside Android WebView. Test the actual share flow on an Android device.
// Plain text or URL import { Share } from '@capacitor/share'; await Share.share({ title: 'Example', text: 'Hello from the app', url: 'https://example.com', dialogTitle: 'Share with' });
// Image or file: write to cache, then share the URI import { Filesystem, Directory } from '@capacitor/filesystem'; import { Share } from '@capacitor/share'; const saved = await Filesystem.writeFile({ path: 'share/image.png', data: base64ImageData, directory: Directory.Cache }); await Share.share({ title: 'Photo', files: [saved.uri] });
CaseBrowser (Web Share)Installed Capacitor app
Plain textnavigator.share where supportedShare.share({ text })
URLnavigator.share where supportedShare.share({ url })
Image / fileNeeds browser file-sharing supportFilesystem.writeFile + Share.share({ files: [...] })
Browser onlyWorks in supporting browsers over HTTPSNot used; native plugin is required
Website without native callsExisting behavior unchangedNo native sheet; the plugin stays idle
🔧 Diagnostics: verify installed versions with node -p "require('./node_modules/@capacitor/share/package.json').version" and check android/capacitor.settings.gradle for :capacitor-share / :capacitor-filesystem. If the share sheet cannot open, confirm the APK was rebuilt after npx cap sync android and that the website actually calls Share.share.

Troubleshooting

ProblemFix
SDK location not foundRun find_sdk.bat --check; set ANDROID_HOME or edit android/local.properties. Do not overwrite a working file with local.properties.example.
Platform android-36 not foundsdkmanager "platforms;android-36" "build-tools;34.0.0"
License not acceptedsdkmanager --licenses
Java / JAVA_HOME errorUse JDK 17 (Gradle 8.7 runs on 17–21).
gradle-wrapper.jar missingRe-extract the ZIP (antivirus tools can remove .jar files) or generate a new project. npm does not supply it.
Artifact not found in outputThe app-named copy is created only after Gradle succeeds and the source artifact exists. Read the final path printed by the build script; the original stays under android/app/build/outputs/.
AAB rejected as unsignedBy default, build.bat aab creates an unsigned bundle. Sign the AAB with your keystore before uploading; see the signing steps above.
Share/Filesystem plugin missingDelete node_modules and package-lock.json, run npm install, then npx cap sync android, then rebuild.
Share sheet does not openThe remote PWA must call the Capacitor Share API. navigator.share is browser-only and may not exist in Android WebView. See the native sharing notes below.

Upload to Google Play Store

1

Developer Account

Register at play.google.com/console. Google charges a $25 one-time registration fee, and account verification can take a few days.

2

Create App & Store Listing

Add a short description (up to 80 characters), full description, at least two phone screenshots, a 512×512 store icon, and a 1024×500 feature graphic. Google Play may ask for more assets.

3

Build & Sign the AAB

By default, build.bat aab creates an unsigned AAB. Sign it with your keystore before upload. The ZIP does not include a signing key, and a passing validation score does not guarantee Play approval.

4

Internal Testing First

Upload the signed AAB to Internal testing, add yourself as a tester, and install the build to check it works before going public.

5

Publish to Production

Complete the required forms, including content rating, data safety, and a privacy policy where required. Then submit for review. Review time varies.

⚠ Critical: The App ID cannot be changed after the first Play Store release. Back up your keystore and passwords; losing them can prevent you from updating the app, depending on your Play signing setup.

Common questions

  • APK or AAB? Use the APK to test or install the app on a phone. Upload an AAB to Google Play after signing it with your keystore.
  • Do I need Android Studio? No. You still need JDK, Node.js, and the Android SDK on the build computer; the ZIP includes the build scripts.
  • Does this store my data? Submitted URLs and generated project ZIPs are not saved by the application. A generated ZIP is a temporary file that is removed after download. For rate limiting, the server stores a recent request timestamp in a file named from a hash of the client IP. The PHP error log may contain technical error details. Log retention depends on the server and hosting configuration. Do not submit secrets or private information in URLs or support requests.
  • iOS support? The ZIP is Android-only. Capacitor supports iOS too, but building for iOS requires a Mac with Xcode.
  • The service worker check warns, but I have one. The checker reads the page HTML. If the service worker is registered in a separate JavaScript file, it may show a warning even when one exists. It does not block the Android build.
  • Are the Fix Kit icons ready for Play Store? No. They are placeholders saved with .png names. Replace them with real PNG icons using RealFaviconGenerator before publishing.
  • Is Capacitor free? Yes. It is open source. Ionic Appflow (optional cloud builds) is a separate paid service.
← Back to Validator