Xamarin linking SDK and UserAssemblies: Error inflating class android.support.v7.widget.FitWindowsFrameLayout

前端 未结 4 1834
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-04 07:24

My app is working without linking. It works fine also when I choose Sdk Assemblies only. It works fine in debug mode as well but it start failing if I choose linking SDk and Use

4条回答
  •  旧时难觅i
    2021-02-04 08:15

    Actually you should be fine specifying in a custom proguard.cfg file:

    -keep class android.support.v7.widget.FitWindowsLinearLayout { *; }
    

    Create file, add above line, add it to your project and specify Build Action: ProguardConfiguration

    Clean (important)/Build/Deploy and it should work. ​​​​​​ ​​

提交回复
热议问题