Marinus 0 Posted June 20 Hi all, I've upgraded from 12.0 to 12.1 and try to compile an existing project for Android. However I run into the following error: [MSBuild Error] The "CreateAndroidManifestFile" task failed unexpectedly. System.NotSupportedException: The given path's format is not supported. at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) [...] Compiling a new empty project runs without problems. My SDK settings were "lost" after upgrading to 12.1, but I fixed that by following the answer to this question: https://stackoverflow.com/questions/78292730/delphi-12-1-post-installation-configuration Share this post Link to post
Dave Nottage 552 Posted June 20 4 minutes ago, Marinus said: [MSBuild Error] The "CreateAndroidManifestFile" task failed unexpectedly. I'd try deleting AndroidManifest.template.xml in your project folder (back it up first if you customized it), then redeploy. Share this post Link to post
Marinus 0 Posted June 20 2 hours ago, Dave Nottage said: I'd try deleting AndroidManifest.template.xml in your project folder (back it up first if you customized it), then redeploy. Unfortunately that doesn't help. Share this post Link to post
Marinus 0 Posted June 20 I was able to compile the project by resetting the output directory and the unit directory. Share this post Link to post
Calum Anderstrem 2 Posted July 11 On 6/21/2024 at 3:49 AM, Marinus said: I was able to compile the project by resetting the output directory and the unit directory. I'm having the same problem. What exactly are you doing when you say you are resetting the output and unit directories? Thanks in advance Share this post Link to post
Dave Nottage 552 Posted July 11 5 minutes ago, Calum Anderstrem said: I'm having the same problem. What exactly are you doing when you say you are resetting the output and unit directories? They may mean in the Project Options - these are the defaults: Share this post Link to post
Calum Anderstrem 2 Posted July 11 13 minutes ago, Dave Nottage said: They may mean in the Project Options - these are the defaults: Hi Dave, that worked; thanks to you both. 1 Share this post Link to post