{"id":1082,"date":"2014-10-31T14:49:44","date_gmt":"2014-10-31T06:49:44","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=1082"},"modified":"2014-10-31T14:49:44","modified_gmt":"2014-10-31T06:49:44","slug":"xe7%e7%bc%96%e8%af%91android%e7%a8%8b%e5%ba%8f%e6%97%b6createandriodmainfestfile%e5%a4%b1%e8%b4%a5%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=1082","title":{"rendered":"XE7\u7f16\u8bd1Android\u7a0b\u5e8f\u65f6CreateAndriodMainfestFile\u5931\u8d25\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\u5982\u679c\u4f60\u5728\u7f16\u8bd1Android\u65f6\u51fa\u73b0\u4e0b\u9762\u7684\u9519\u8bef\u63d0\u793a\uff0c\u90a3\u4e48\u606d\u559c\u4f60\uff0c\u9047\u5230\u4e86Delphi\/C++ Builder\u7f16\u8bd1\u5668\u7684\u4e00\u4e2a\u5f31\u667a\u7684Bug\uff1a<\/p>\n<pre class=\"lang:tex decode:true  \">[MSBuild Error] The \"CreateAndroidManifestFile\" task failed unexpectedly.\r\nSystem.UnauthorizedAccessException: Access to the path '\\..\\..\\AndroidManifest.template.xml' is denied.\r\nat System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\nat System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)\r\nat Borland.Build.Tasks.Shared.CreateAndroidManifestFile.genManifestFile()\r\nat Borland.Build.Tasks.Shared.CreateAndroidManifestFile.Execute()\r\nat Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean&amp; taskResult)<\/pre>\n<p>\u95ee\u9898\u53d1\u751f\u7684\u539f\u56e0\u662f\u4f60\u7a0b\u5e8f\u7684\u8f93\u51fa\u76ee\u5f55\u6ca1\u6709\u5728\u5f53\u524d\u76ee\u5f55\u7684\u4e24\u7ea7\u5b50\u76ee\u5f55\u4e0b\uff0c\u6b63\u5e38\u662fAndroid\\Debug\u6216Android\\Release\uff0c\u89e3\u51b3\u529e\u6cd5\u662f\u5728Project-&gt;Options\u91cc\u8bbe\u7f6eOutput Directory\u4e3a$(Platform)\\$(Config)\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u5728\u7f16\u8bd1Android\u65f6\u51fa\u73b0\u4e0b\u9762\u7684\u9519 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,21],"tags":[136,144],"class_list":["post-1082","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-misc","tag-andriod","tag-createandroidmanifestfile"],"views":5640,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1082"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1082\/revisions"}],"predecessor-version":[{"id":1083,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1082\/revisions\/1083"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}