Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
News

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:

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.

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Marco is one of the RAD Studio Product Managers, focused on Delphi. He's the best selling author of over 20 books on Delphi.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES