Skipping the uninstall step because the SharePoint Add-in is in an invalid state and cannot be uninstalled error in SharePoint hosted add-in
Check out Best Alternative to InfoPath -> Try Now
This SharePoint tutorial, we will discuss how to solve the error: Error occurred in deployment step ‘Install SharePoint Add-in’: 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. Skipping the uninstall step because the SharePoint Add-in is in an invalid state and cannot be uninstalled.
Recently while working on a SharePoint hosted add-in I got the error.
Error occurred in deployment step ‘Install SharePoint Add-in’: 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.
The full error looks like below:

Skipping the uninstall step because the SharePoint Add-in is in an invalid state and cannot be uninstalled
We can change the version number to solve the issue. Here I have changed the version number to 1.0.0.1.
We can change the Version number in the AppManifest.xml file like below:

Then I tried deploying from visual studio and it worked fine for me.
Another approach is that you can remove uninstall the app using PowerShell.
$instances = Get-SPAppInstance -Web “UR Site URL”
$instance = $instances | where {$_.Title -eq ‘Name of the App’}
Uninstall-SPAppInstance -Identity $instance
You may like following SharePoint Apps tutorials:
- Video Tutorial Create and Deploy SharePoint Hosted Add-in using Visual Studio 2015
- SharePoint hosted add-in error Failed to get web title Error Access Denied
- How to retrieve all host web lists in add-in web in SharePoint Online Office 365 in SharePoint hosted add-in?
- How to retrieve host web site title in add-in web in SharePoint hosted add-in in SharePoint Online Office 365 Site?
- The required version of SharePoint Foundation or SharePoint Server is not installed on this system while developing SharePoint hosted add-in in SharePoint 2016
- How to debug SharePoint or Provider hosted Add-in in the different browser in visual studio 2015?
- Create remote event receiver sharepoint online as provider hosted add-in and deploy into Microsoft Azure step by step tutorial
- Steps to create a provider-hosted add-in in SharePoint Online and host in Microsoft Azure using Microsoft Azure Web Apps method
- Bind SharePoint Online Host Web List Data to Dropdownlist in SharePoint Hosted Add-in
- SharePoint Hosted App or Add-in Example: Create Site Column, Content type, and List in SharePoint Online using Visual Studio 2017
Hope this will be helpful to resolve Skipping the uninstall step because the SharePoint Add-in is in an invalid state and cannot be uninstalled

SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)