I am editing an aia file and uploading on playstore

I am editing an aia file and want to upload that apk to play store but with the same package name playstore is showing some error that package name is available something like but so i edited the package name then i installed the apk to my phone nothing is showing on it and then reverted the old package name data came back what to do

You need to change the version number when you upload the same package name to playstore, and make sure it is the same keystore key.