Forum Xamarin Xamarin.Android

How to fix unknown identifier error in xamarin android?

Hello everyone!

I'm working with a library, compiling was successful. The classes and methods I need if I can use them in my applications, but at the moment of compiling the application it throws an error that calls unknown identifier and will not let me continue with the debug of the application.

I attach an image at runtime to the application and where it throws the problem. I'm new to the development of Xamarin Android.

I hope you can help me.

Answers

  • RonaldoddddRonaldodddd MYMember ✭✭

    first of all, i think you need to double check the framework library about the definition of sharedinstance(), because this is obviously pointing that sharedInstance() doesn't return a valid object.

  • @Ronaldodddd When it does not return a valid object value, could it be because the method is declared static?

  • RonaldoddddRonaldodddd MYMember ✭✭

    Nope, I am sure that is not the main problem. I think i can help trouble shooting if you can show the implementation of your TRframework.shareinstance() method

Sign In or Register to comment.