Thanks for the screenshot.
In Processing 4.5.2, experimental preferences can be edited directly from the Preferences window. No need to manually open preferences.txt.
Open Processing → Settings… → Advanced, and enable Show experimental settings.
Look for ANDROID_SDK, which shows the current Android SDK location. You can edit the path there if needed.
However, under normal circumstances this should not be necessary and Processing should download and locate the correct SDK, so I’m not sure what is happening.
What is the value of ANDROID_SDK for your system?
