**org.openqa.selenium.WebDriverException: java.net.SocketException: Software caused connection abort: recv failed

After Adding Extent reports then run the test scripts it is showing *org.openqa.selenium.WebDriverException: java.net.SocketException: Software caused connection abort: recv failed

Try changing your library versions

how to change library versions can you please explain exact scenario

What is the full stack exception? What do the appium logs say?

Import different versions of jars.