Open DelphiWorlds opened 3 months ago
I have now released Codex 2.3.1, which deals with this issue. If you have Delphi 12.1 and the feature required a Build Event to merge the manifest, install Codex 2.3.1, remove the Build Event from the Project Options and it should now merge from AndroidManifest.merge.xml
in the project folder when the app is deployed.
For certain demos in Kastri, use has been made of Post Build events to modify the resulting
AndroidManifest.xml
which is deployed with the application. In Delphi 12.1, changes in the build process for Android apps has broken this process, so if you are building the project for the first time, you may see the error:This is because
AndroidManifest.xml
is not generated until deploy time, so manifestmerge fails due to the missing file.Unfortunately, Delphi 12.1 regenerates
AndroidManifest.xml
every time the app is deployed, so manifestmerge cannot be used. This means that manifest entries required by Kastri demos that need them will need to be added manually toAndroidManifest.template.xml
. In addition, this file is not created until the first deployment of an application.I am in the process of updating the readme files for each of the affected demos, which are:
The updated readme files will have instructions for editing
AndroidManifest.template.xml
manually