android - 错误资源目录名称无效 : "res content"

标签 android xamarin xamarin.android xamarin.forms

我在我的解决方案中卸载了 Xamarin Form 并重新安装了它。安装后,当我尝试运行我的 android 项目时,它给我错误,因为无效的资源目录名称:文件:aapt.exe 中的“res 内容”。

aapt 文件存在于我的 android-sdk 路径中。谁能告诉我解决此错误的方法。

enter image description here

最佳答案

每个图像的构建操作都应设置为 AndroidAsset 而不是 AndroidResource。

关于android - 错误资源目录名称无效 : "res content",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38097321/

相关文章:

android Activity 不向下滚动

c# - 无效的资源目录名称: “res animation” aapt.exe

Xamarin.Forms - 创建新页面时InitializeComponent不存在

c# - 使用 SmsManager 打开默认的短信应用

android - Jetpack compose 检查函数是否已在预览模式下运行

Android Studio 1.4 抽屉导航

android - 是否可以访问 WebView 缓存?

xamarin - Xamarin iOS 中的自定义振动

c# - 无法从 'string' 转换为 'System.Net.Http.HttpRequestMessage'

android - Mvvmcross:无法在 Activity 的 OnCreate 中创建 MvxRecyclerAdapter