I've recently had this issue too and after none of the answers on here worked I realised that the APK I was testing against would have been built against the latest sdk.
So I went into the Appium settings and changed the platform version to the latest version and this resolved the issue for me.