You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Type casting for return type is not correct. Error CS0234: The type or namespace name 'Lang' does not exist in the namespace #5894
Ugh, they have a package called org.koin.java which gets translated to the C# namespace Org.Koin.Java. When we try to cast things to Java.Lang.Object it is trying to resolve it as Org.Koin.Java.Lang.Object which is incorrect.
The easiest fix is to rename that package to something else using metadata, like this:
Activity
jpobst commentedon Apr 30, 2021
Ugh, they have a package called
org.koin.javawhich gets translated to the C# namespaceOrg.Koin.Java. When we try to cast things toJava.Lang.Objectit is trying to resolve it asOrg.Koin.Java.Lang.Objectwhich is incorrect.The easiest fix is to rename that package to something else using metadata, like this:
akalghatgi commentedon Apr 30, 2021
Hi @jpobst,
Thanks a lot... renaming has the solved the issue for me... :-)
Regards,
Amit
[generator] Ensure "global::" is prepended to generic return casts. (#…
Bump to xamarin/Java.Interop/main@2573dc8c
Bump to xamarin/Java.Interop/main@2573dc8c
Bump to xamarin/Java.Interop/main@a5ed8919
Bump to xamarin/Java.Interop/main@a5ed8919 (#5945)