Try the following; Download this SDK folder and unzip it in the documents/processing folder or elsewhere. Then open the preferences.txt file. The location you can find at the bottom of the File/settings menu.
In the android parameters you will find something like:
android.emulator.image.abi=x86
android.emulator.port.phone=5566
android.sdk.ar=1.12.0
android.sdk.gvr=1.180.0
android.sdk.path=D:\an\android\sdk
android.sdk.play_services=16.0.1
android.sdk.support=28.0.0
android.sdk.target=28
android.sdk.wear=2.4.0
Change/set or correct the right sdk path as where you saved it.
Save the preferences.txt file with the processing’s IDE closed
Start ide again.