Xamarin.Android.Support.Design causes crash on launch

泄露秘密 提交于 2020-01-06 07:05:51

问题


Start with a fresh Android project in Visual Studio Professional 15.6.6, on Windows. Install Xamarin.Android.Support.Design from NuGet. Try to run on an Android 8 phone (mine is a BLU Vivo XL3). It probably won't run. It may (or may not) complain as follows:

 "Android.Content.Res.Resources+NotFoundException: File res/drawable-xhdpi-v4/abc_ab_share_pack_mtrl_alpha9.png from xml type layout resource ID #0x7f020000

I also tried it on Visual Studio Professional 15.7.1. Same problem.

Any work arounds?

Related question here:

Unable to find a version of 'Xamarin.Android.Support.Design' that is compatible with 'Xamarin.Forms 2.5.0.274780

来源:https://stackoverflow.com/questions/50426755/xamarin-android-support-design-causes-crash-on-launch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!