mono - Xamarin Android Release Build Error -


we developing business application using xamarin android. have used user assemblies (java binding library pull refresh component) , newtonsoft.json nuget packages . these assemblies referenced in our android project.

it working fine debug mode, when change release mode shows error need add reference mono.android.export.dll when use exportattribute or exportfieldattribute..

we have referenced mono.android.export.dll shows error in release mode alone.

note:

i have done following in android project properties release build

mono android options -> configuration -> release linking -> sdk , user assemblies bundle assemblies native code enabled.

kindly find attached image reference , me resolve issue.

thanks in advance.

you need mark classes witch [export] attribute. c# classes represents json objects.

when linking assemblies, these classes/methods considered not used linker , not included in final linked code.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -