locked
Error loading Ninject component IBindingPrecedenceComparer RRS feed

  • Question

  • User364101 posted

    Hi Everyone, I ran into a problem. I have an app which made on Xamarin.Forms 2.4 version. I have updated all the NuGet packages and assemblies. But the thing is there are 5 activities which have been used. When I am trying to debug the app, it crashed every time with the following output.

    **11-04 13:26:21.489 D/IMonitor(26122): Load library imonitor_jni
    11-04 13:26:21.511 D/        (26122): [ZeroHung]zrhung_send_event: wp=257, ret=-1
    11-04 13:26:21.511 E/ZrHungImpl(26122):  sendAppFreezeEvent failed!
    11-04 13:26:24.517 D/        (26122): [ZeroHung]zrhung_send_event: wp=258, ret=-1
    11-04 13:26:24.517 E/ZrHungImpl(26122):  sendAppFreezeEvent failed!**
    

    with the error-->

    **System.InvalidOperationException: 'Error loading Ninject component IBindingPrecedenceComparer No constructor was available to create an instance of the registered implementation type BindingPrecedenceComparer.

    Suggestions: 1) Ensure that the implementation type has a public constructor.**

    Any suggestion.

    Monday, November 4, 2019 8:06 AM

All replies

  • User379860 posted

    First of all, when you update your nuget packages, you should close the VS, delete the bin and obj folders, then open your project, re-build your project, If this issue is disappear.

    Then, If the above steps not work, please upload your demo that could re-produce this issue. I will help you to toubleshot this issue.

    Monday, November 4, 2019 11:10 AM