Deploying fails during install in 11.2 or 11.3
When you try to open and deploy either a new or existing FireMonkey application and you've performed an in-place upgrade of RAD Studio, either from 11.0 / 11.1 to 11.2 or 11.3, or from 11.2 to 11.3, it happens there are leftovers which causes the deployment step to fail with the error message Exception occurred while executing "install-incremental" due to changes in Android API level requirements (Targeting API Level 32 since 11.2). The error message shown below is an example of such:
To resolve the issue, do the following:
- Make sure all instances of the IDE is closed and not lingering in the Windows Task Manager.
- Navigate to %AppData%\Embarcadero\BDS\22.0\
- Find and delete AndroidManifest.xml
- Start the IDE. (The IDE will generate a new, updated AndroidManifest file in the AppData path above)
- Start a new empty FireMonkey project and try deploying it to your Android device.
If you're working on an existing project, do the following steps in addition to the guide above:
This ensures any system libraries for Android which FireMonkey are dependent on, are updated to the latest version shipped with RAD Studio.
