I am writing about an issue, which comes frequently for installing any of app file SharePoint online or On-Premises.

When we are trying to add any app file on SharePoint solution site, sometimes we get the error, as shown below.
“Sorry, something went wrong.

A different version of this app is already installed with the same version number. You need to delete the app from the site and the site recycle bin to install this version.”

BlogImages

Solution
Below are the steps, which we need to follow to solve this issue.

SharePoint Online

If you have hard coded file, you can use the steps, mentioned below, using Visual Studio in an easy way. If you don’t have any idea about coding and if you are from admin team, the steps, mentioned below come out from the issue.

Comment, if you find any issue.