How to run C# code using mono without Xamarin in Android? -


i want create program uses mono runtime run c# code (binary not application).

i copied libmono.so unity app , i'm write code using documentation:

http://www.mono-project.com/docs/advanced/embedding/

and it's working have problems references can access classes mscorlib.dll , have problems system.reflection.assembly class throwing exception, when print console see:

system.missingmethodexception: method not found: 'system.reflection.assembly.op_inequality' 

can fix it?

can use mono runtime in c binary on android?

ps. i'm using android tests.

edit: found solution loading libraries, need set environment variable mono_path libraries path.

but have still problems assembly class.

the system.missingmethodexception error have seems .net profile mismatch error, 1 explained here.

can use mono runtime in c binary on android?

yes, using ndk guess. there alternatives can use instead of rolling own, such xmadevlab.


Comments

Post a Comment

Popular posts from this blog

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -