我的 Visual Studio 2015 出现了一些奇怪的问题,当我更改(甚至不是替换)Android 资源目录下的图片时,在 Resources --> drawable --> + subs 中,然后我的 Visual Studio 就无法构建并出现以下错误:
Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon') 它指向 AndroidManifest.xml
<activity android:configChanges="orientation|screenSize" android:icon="@drawable/icon">
如果我恢复到这张地图的旧版本,它会起作用吗? 但当然这不是我们想要的。
请注意资源存在并且具有正确的尺寸等属性。
有人知道我做错了什么或者漏掉了什么吗?