I created a flutter application and generated a key for it to upload to play-store, but because it was named com.example.testapp play-store didn't allow me to upload it and I tried changing the name. But after the application was uploaded it kept crashing, it wasn't running on any device and I figured that it might be because I changed the package name incorrectly.
After following this link, I successfully changed the app package name.
Now when I am uploading again do I delete the previous app from the playstore? And do I need to generate a new key or just create a new bundle and upload it?