Help me fix an error Android.Views.InflateException RRS feed

  • Question

  • User394609 posted


    I try to use Fingerprint plugin. In PCL project my MainPage derives from Shell and this is a problem. If the MainPage do not derives from Shell than it's ok and I don't have any error.

    I have the following error on Build:

    Android.Views.InflateException: 'Binary XML file line #1 in com.companyname.app417:layout/flyoutcontent: Binary XML file line #1 in com.companyname.app417:layout/flyoutcontent: Error inflating class android.support.design.widget.CoordinatorLayout'

    I had this kind of error before for ToolBar file in Xamarin.Andoird layout folder. I Fixed it by changing the name from android.support.v7.widget.Toolbar to androidx.appcompat.widget.Toolbar and this solved the issue. The problem is that I don't have any flyoutcontent file in Xamarin.Android layout folder and cannot rename it.

    How can I fix this?

    Friday, December 4, 2020 3:08 PM


  • User394609 posted

    Here is the solution: Change the target framework from 9.0 to 10.0 and you Ok.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, December 4, 2020 4:00 PM