Thank you, that helped a lot. Unfortunately I still can not install the Android SDK, so it gave a new error:
‘Error: Failed to find ‘ANDROID_HOME’ environment variable. Try setting setting it manually.
Failed to find ‘android’ command in your ‘PATH’. Try update your ‘PATH’ to include path to valid SDK directory.’
This error I think I understood the reason. I am without the Android SDK. I managed to install the Android Studio IDE but it comes without the Android SDK. I also downloaded the SDK package with the tools sdkmanager and avdmanager, but I still have not found updated information about how to use this to install the Android SDK on Android Studio.
It’s been very painful to be able to generate my first APK, Two days trying and I only find tutorials with deprecated commands or about Windows.