android: [Export] doesn't support float[]
From: https://github.com/xamarin/java.interop/issues/264
Steps to Reproduce
- Add a class which contains an
[Export]method which contains an array parameter. - Call the method in (1) from Java
Expected Behavior
It works!
Actual Behavior
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
System.NotSupportedException: Only primitive types and IJavaObject is supported in array type in callback method parameter or return value
What’s funny is that float[] is a “primitive type” for array types.
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 6
- Comments: 18 (10 by maintainers)
Is there any updates regrading this issue?