Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Target Version for running 10.3 Rio apps on Android 9

In this post, we’ll walk you through the 10.3 version of RAD Studio that supports Android 9.

When RAD Studio 10.3 Rio applications are executed on Android 9, you get an intermittent error due the call of a restricted API. As an example, this is reported at https://quality.embarcadero.com/browse/RSP-23008:

The issue is a call to a restricted platform API in FireMonkey, we are looking forward to remove in a future release.

There is a fairly simple workaround. The message is not displayed to the user (but only in the internal logcat) if you modify the TargetVersion parameter in the AndroidManifest XML file, setting it to TargetVersion = 28:

[crayon-676820051874d558937467/]

If you have an existing 10.3 Rio project for Android and you want to target Android 9 Pie, you should update the manifest file accordingly.

Do you want to build an Android app? Try the Android App Builder Software, which will assist you in developing apps in the Delphi or C++ environments.
Exit mobile version