"Your app currently targets API level 22 and must target at least API level 26"

I have created an app in x and I am getting this error, is there any way to upgrade the API level?

Wait and Watch is the only solution for now.

I explained it here

same problem

See my post before commenting thank you