ran “ionic capacitor build android --prod”. That regenerated the www directory.
run “npx cap sync”
Then in Android Studio I run Build -> Generate Signed Bundle or APK -> Android App Bundle -> Release. That builds app-release.aab.
And then I upload it to the Play Store and get the error cited in first post about “io.ionic.starter” already existing in the app store.
In Android Studio I open AndroidManifest.xml and there’s no mention of that ID. Same with strings.xml. And opening capacitor.config.json doesn’t have it either.
Wow, I think I found it. Only took 3 hours. In Android Studio, under Gradle Scripts, find file “build.gradle (Module:app)” and change applicationId there.