Skip to content

Turn a Lovable, Bolt, v0 or Claude web app into an Android APK

Built a working tool, prototype or mini-game with an AI coding tool and want to install it on an Android phone without setting up Android Studio? Pick the input path that matches how your project runs, run a two-minute preflight, and download a signed APK.

Match your builder

Recommended path by AI coding tool

Most blank-screen failures happen when a dynamic web app is uploaded as raw source files instead of being deployed first. Match your project type below.

AI tool / workflowTypical outputBest WebToApp routeKey watch-out
Claude Artifacts / ChatGPT CanvasSingle self-contained .html file (or React snippet)HTML to APKInline styles/scripts or use full https:// CDN links; ensure a mobile viewport meta tag is present.
LovableDeployed HTTPS web app (often backed by Supabase)Website to APK (live URL)Keep Supabase auth on email/password or OTP; Google OAuth inside WebView triggers 403.
Bolt.newDeployed URL or downloaded Vite/React static projectWebsite to APK or ZIP to APKIf uploading a ZIP, run npm run build with base: "./" and zip dist/—never zip raw source code.
v0 / Next.jsDeployed Vercel/Node/edge app with /_next/ routesWebsite to APK (live URL)Do not upload as a static ZIP; Next.js root paths and server routes require live web hosting.
Cursor / Windsurf / ReplitLive preview/production URL or static build folderWebsite to APK (live URL)Never bundle .env files or private API keys inside a client ZIP; keep secrets on your backend.

Step-by-step

Three clean ways to package your AI app

01Deploy first, then convert the URL (best for Lovable, v0, Replit)

Publish your project to a stable HTTPS address (for example your custom domain, Vercel, Netlify or Cloudflare Pages). Avoid temporary preview URLs that require a platform login cookie to view. Then paste the public URL into Website to APK, set your app name and icon, and build the signed APK.

Why this wins: your database, auth backend and serverless AI routes stay intact, and every code push updates the installed app automatically without rebuilding the APK.

02Export a single HTML file (best for Claude Artifacts & mini-tools)

Save your self-contained HTML document (under 10 MB) and drop it into the free browser checker on HTML to APK. Confirm it reports zero missing relative files and includes a mobile viewport tag, then generate the APK.

Keep state like high scores or notes in localStorage or IndexedDB—each uploaded app runs on its own origin so data persists across launches.

03Export a static Vite/React ZIP (client-only apps)

If you downloaded a React/Vite project from Bolt.new or Cursor and it needs no server backend, configure a relative base path and hash routing before running npm run build, then zip the contents of dist/ (not the outer repo containing package.json):

// vite.config.ts
export default defineConfig({
  base: './',
});

Run the built ZIP through the browser inspector on ZIP to APK to verify index.html, file count (≤ 500), unpacked size (≤ 20 MB), and zero root-absolute /assets/ paths.

Pre-build check

Six things to verify before sharing your APK

Tick the items you have confirmed on your own project. Every item below catches a real failure we see in AI-generated web apps.

0 of 6 checked. Resolve the remaining items or test the free APK carefully before sharing.

Troubleshooting

Four common failures in AI-built APKs

White screen right after install

In ZIP uploads, this almost always means index.html requests /assets/... from the domain root instead of ./assets/..., or uses browser history routing instead of hash routing. In URL apps, check that the URL is public HTTPS without an editor login wall.

Google Sign-In returns Error 403

Google blocks OAuth inside embedded Android WebViews with disallowed_useragent. Read our WebView Google Sign-In guide for practical workarounds (email/OTP login, PWA install, or native Custom Tabs).

Uploaded HTML/ZIP stops loading after 7 days

Uploaded static files include a 7-day hosting trial. To keep an uploaded app live permanently, either add Hosted Site ($5/month or $39/year) on the pricing page or deploy the site on your own web host and rebuild from the URL.

AI API calls fail with CORS or missing keys

Static uploads cannot run Node, Python or PHP server routes. If your app calls an LLM or database API, deploy the backend separately with proper CORS headers and never place secret keys inside client files.

Honest scope: WebToApp outputs a signed Android WebView APK for direct installation, an iOS Web Clip profile, and desktop launchers. It does not export Google Play AABs, native iOS IPAs, or native push notifications. If you need Play Store distribution for a PWA, see WebToApp vs PWABuilder.

Test your AI web app on Android in minutes

Every account gets one free successful Android APK build. Verify touch layout, login and navigation on your own device before upgrading to a $29 one-time custom-branded license.

Convert my web app

FAQ

AI web app to APK questions

Should I convert my Lovable or Bolt app by URL or by ZIP?

Use the live deployed URL (Website to APK) whenever your app is already published online or uses a backend such as Supabase, Firebase or serverless API routes. Export a static ZIP only for purely client-side Vite/React apps that have no server routes and stay under 10 MB compressed.

Can I turn a single-file Claude Artifact or ChatGPT Canvas HTML into an APK?

Yes. Download the self-contained .html file, check it with the browser HTML preflight checker to confirm there are no broken relative paths, and upload it to HTML to APK. Note that uploaded HTML files have a 7-day hosting trial unless you add Hosted Site or deploy the file to your own domain.

Why does my exported Vite or React ZIP show a blank white screen in the APK?

Two common causes: root-absolute asset URLs like /assets/index.js (uploaded static sites are served from a sub-folder, so set base: "./" in vite.config before building) and path-based client routing (switch to HashRouter or deploy the app and convert its live URL instead).

Can I convert a v0 or Next.js app using ZIP to APK?

Usually no. Next.js apps rely on root /_next/ asset paths and often use Server Actions or API routes. Deploy your v0 or Next.js project to Vercel, Cloudflare or Netlify first, then convert the live HTTPS URL with Website to APK.

Will Supabase or Firebase login work inside the converted Android APK?

Email/password sign-in and email magic links generally work inside an Android WebView APK. "Sign in with Google" pop-ups are usually blocked by Google inside embedded WebViews with Error 403: disallowed_useragent—test your login flow on a real phone before sharing the APK.

Can I publish the generated APK directly to Google Play?

No. WebToApp creates a signed Android WebView APK for direct installation, client demos and team sharing outside app stores. It does not export a Google Play AAB bundle or handle store submission.