Receiving error " Original error: Appium Settings app is not running after 5000ms"

getting this error while running the working script on the phone previously it was working fine for the same phone but now after a while it’s started showing this error. same script it’s working fine on the another phone but i doubt i’ll stop working in the future.
Appium = 1.22.3-4
Java = 8

Gui server is unreliable. Use npm install:

https://appium.io/docs/en/about-appium/getting-started/?lang=en

Capture

Issue Resolved

The appium application was present under settings and the app has lock sign that’s why i was unable to remove it. It you’re getting the same issue please follow the below steps:

  • Connect your device with your laptop. (Turn on the laptop)
  • Open the command prompt and write the below command and try to remove the appium settings forcefully from your device.
    • Adb uninstall io.appium.settings.
  • Run the script again.