just ran from same template and running flawlessly in android
so if the app runs good in the browser, then maybe something wrong with the linkage to android or your android studio? Maybe start a project in android and try to run a clean java project?
happy to share the repo
npx degit sveltejs/template svelte-app
cd svelte-app
npm i
npm run build
npm install @capacitor/core @capacitor/cli
npx cap init
change output dir to public instead of www (capacitor config)
npx cap add android
npx cap open android
And shamelessly plug this one:GitHub - Tommertom/svelte-ionic-app: Ionic UI showcase app - try Ionic UI and directly go to API or source code