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.