Can't get started with Android Mode and SDK

Hi, I’m trying to get started with Android mode. When I switch a blank sketch to Android mode it offers to auto-download the SDK or for you to locate it.

If I select auto-download it fails, same as here. I’ve tried removing and re-installing Android mode - no help. (The remove from manage libraries did nothing, I had to delete the directory.)

I’ve tried downloading the SDK command line tools, and pointing it at that e.g. D:\Programs\Android_SDK_cmdline-tools. There are bin and lib directories in there, tried them all and it doesn’t accept any.

Windows 10 Home, 22H2. Processing 4.3.1

Any help appreciated.

On my Windows 11 system the Sdk folder is at C:\Users\yourName\AppData\Local\Android\Sdk

Processing also has an android sdk at C:\Users\yourName\Documents\Processing\Android\sdk

Sometimes it helps to install Android Studio and use their Tools/SDK Manager

It installed and downloaded here with Processing (not Android Studio) using the same configuration.

I did have to add it manually to preferences.txt:

Add it to preferences.txt while Processing is NOT running.

:)

@svan. @glv, Thanks. I’ll try the Anrdroid studio and give Processing another try after that.