【发布时间】:2017-08-24 15:13:29
【问题描述】:
我已关注this guide,使用 Xamarin Forms 为 Android 创建了启动画面。但是,调试时抛出异常:
android.content.res.Resources$NotFoundException: File res/drawable/launchscreen.xml from drawable resource ID #0x7f020093
我确定 xml 位于 Resources/drawable 文件夹中,并且 Build Action 设置为 AndroidResource。我什至打开了 APK,launchscreen.xml 就在那里。
有什么想法吗?
【问题讨论】:
-
不清楚是什么问题,能发下相关代码吗?
-
能否分享一个可以重现问题的基本演示?
-
抱歉回复晚了。我已经解决了这个问题,将在下面解释。我仍然可以发布演示代码。就像上面提到的指南中的一样。
标签: android xamarin xamarin.android xamarin.forms