I have done an install of Delphi 10.4 Sydney on a machine with a clean Windows 10, accepting all the defaults. Yet the Android SDK clearly is not installed properly.
At a minimum Missing Directories: \android-29 & \29.0.3
C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidSDK-2525-21.0.37889.9797\platforms\android-29
C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidSDK-2525-21.0.37889.9797\build-tools\29.0.3
I have reinstalled the SDK but no change.
Can anyone help with the SDK install.
This is what I found. The problem results from not selecting the option to also install AdoptOpenJDK. (I had the Oracle version installed) Once I Uninstalled Delphi removed the Oracle JDK, and reinstalled including AdoptOpenJDK the Automatic install of the Android SDK worked.
You must install the platforms and other requirements separately. Use SDKManager.exe in SDK folder to install them. You can select which package you want to download by selecting the checkbox and then click Install to install those packages. By default SDK Manager keeps it up to date with latest APIs and other packages.
See this source for more information: https://www.tutorialspoint.com/android/android_sdk_manager.htm
Note that you can use different platforms and build-tools but sometimes this is not possible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With