I installed RAD Studio Enterprise, only Delphi (all platforms), not C++. I also installed:
- Samples
- Help
- AdoptOpenJDK
- Android SDK 25.2.5 - NDK r21
In Delphi, there were warning icons on the following:
Tools | Options | Deployment | SDK Manager | Android SDK ... | Properties
* SDK - ZipAlign location
* SDK - Adb location
* SDK - Aapt location
* SDK - SDK API-Level location
* Java - KeyTool location
* Java - Jarsigner location
To fix the Java issues, use Tools | Manage Platforms | Additional Options
to remove both AdoptOpenJDK and the Android SDK. Then used it again to install both.
To fix the SDK issues, browse to the folder where the Android SDK was installed (look at SDK - SDK base path
under the SDK Manager
for Android). For me the path is:
c:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidSDK-2525-21.0.40680.4203
Run SDK Manager.exe
to launch the Android SDK Manager
application. For me, 16 packages were pre-selected, including rev 29 tools (which is the path that was in SDK API-Level location
). The Google Play options under Android R wouldn't install because their download size didn't match the expected download size. So I removed Android R support. The others worked just fine.
Note: There is a SDK Readme.txt
in the same folder that has some useful information. The readme mentions a command you can run from a command prompt (tools\android.bat update sdk --no-ui
), which I ran. That installed support for several other versions of Android. Be sure to run it from the SDK folder, not the tools sub-folder.
Everything works now.