Ontdek Delphi 11.2 Alexandria

De nieuwe Delphi 11.2 Alexandria release is uit en we zijn blij met deze versie. We gaan samen met Barnsten in een webinar niet alleen de nieuwe features bekijken, maar er ook enkele uitproberen met demo’s.

Wanneer?
Donderdag 22 september 2022 van 09.30 tot 10.30 uur.

Waar?
Het webinar is online, registreer je nu hier:
https://www.barnsten.com/nl/ontdek-delphi-11.2-alexandria/

Waarom?
Maak niet alleen kennis met de nieuwe features en mogelijkheden van Delphi 11.2  Alexandria maar zie ook hoe je ze kunt toepassen. In dit webinar zie je op welke manier de nieuwe IDE features gebruikt kunnen worden in een development team en welke wijzigingen relevant zijn voor nieuwe en bestaande Delphi projecten. Tijdens en direct na afloop van het webinar kunt via de chatbox vragen stellen.

Teasers?
In dit webinar zie je hoe je local GetIt kunt gebruiken, hoe je Help Insight tags kunt toevoegen, met als bonus voor de deelnemers de primeur van een comic plug-in voor de Welcome Page.

Android SDK for Delphi 11.2 Alexandria

The Android SDK is an optional feature in the Delphi installation. Now if you did not select it in the install, you can add it later using the Tools – Manage Platforms menu in the Delphi IDE. If you do that, then you should also check the Eclipse Temurin OpenJDK 11 (Hotspot) JVM, for the Java bits the Android SDK needs.

If you forgot that, no worries, the Delphi IDE has an automatic feature to detect missing Android SDK files. So if you start an Android project and then hit compile you will get a question from the Delphi IDE “Would you like to update the platforms SDK now?” Just click yes and it will then download the Android SDK for you and you can just continue.

Would you like to update the platforms SDK now?But occasionally the install process of Delphi fails to download some of the required Android SDK files from Google. There are many reasons for this, sometimes the Google servers are down or there is a conflict with an existing Android SDK. You can easily confirm issues using the Delphi SDK Manager, that you can open through the Tools – Options menu. Under the Deployment branch you’ll find the SDK Manager.

Android SDK manager fro Delphi 11.2The missing folders are indicated with yellow danger signs next to them. In this case we are missing

  • build-tools 32.0.0
  • platform-tools
  • platforms android-32

The solution here is to open an administrative command prompt and navigate to the Android SDK advmanager.bat folder as you can see in the SDK manager screen:


CD "C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.46141.0937\cmdline-tools\latest\bin"

In that folder we need to use the sdkmanager.bat file to download and install the missing items.


sdkmanager "build-tools;32.0.0"
sdkmanager "platform-tools"
sdkmanager "platforms;android-32"

You can also list all the available items that you can download and install in from Google.


sdkmanager --list

More information on the sdkmanager can be found on the android developer website: https://developer.android.com/studio/command-line/sdkmanager

That should fix it all up!

As a sidenote; with the newer Windows 10 and 11 versions the Android ADB driver comes pre-installed, and you just have to enable developer mode and connect your Android device with an USB cable to get Windows to install the Android Debug Bridge driver.