Any CPU and try to archive i get this 4 errors: ...

问题描述 投票:1回答:1
I found it , for new android u must add

Release|Any CPU我的Xamarin.Forms应用程序在调试时工作得非常好,没有错误,也没有连接到我的设备上,一切正常。但是当我改成

并尝试存档,我得到这4个错误。tools:replace specified at line:15 for attribute android:icon, but no new value specified

1D:\MyApp\MyApp.Android\obj\Release\100\AndroidManifest.xml:15:3-43:17 Error:2.Validation failed

3. D:\MyApp\MyApp.Android\obj\Release\100\AndroidManifest.xml Error:4.

xmlns:tools="http://schemas.android.com/tools"我不知道什么应该使这个问题.我已经添加了: <application> 而在 tools:replace="android:label , android:icon"

标签添加了这个。
android xamarin.forms xamarin.android android-manifest
1个回答
0
投票

我的Xamarin.Forms应用程序在调试时工作得非常好,没有错误,也在我的设备上连接,一切正常。但是当我换成Release时,我的Xamarin.Forms应用在调试时工作得很好,没有任何错误,在我的设备上也能连接,一切正常。

© www.soinside.com 2019 - 2024. All rights reserved.