1

I need to use methods from java.lang.reflect in a MonoDroid solution, but I can't find this namespace anywhere. Is there a way to access these?

Kevin Bedell
  • 13,254
  • 10
  • 78
  • 114
Brans
  • 649
  • 1
  • 7
  • 20

1 Answers1

1

The java.lang.reflect package is not bound in Mono for Android. This bug has some more details about that. If you really need to work around that limitation, you could write that part of your application in Java and then call it through JNI. Xamarin has a good guide on using JNI up here.

Greg Shackles
  • 10,009
  • 2
  • 29
  • 35