linkedin / dexmaker

A utility for doing compile or runtime code generation targeting Android's Dalvik VM
Apache License 2.0
1.86k stars 248 forks source link

How to install in Xamarin Android #154

Open dinesh4official opened 4 years ago

dinesh4official commented 4 years ago

I can't able to see any nuget to install the dexmaker in Xamarin Forms Android or Xamarin Android application.

drewhannay commented 4 years ago

We don't currently publish artifacts for Xamarin and I don't think that's likely to change any time soon, unfortunately. We don't really have anyone on the team with the expertise to write or maintain the Xamarin configuration.

djmillsuk commented 3 years ago

I can't able to see any nuget to install the dexmaker in Xamarin Forms Android or Xamarin Android application.

I managed to implement this in xamarin. I have only tested the proxybuild functionality.

LinkedIn-DexMaker-Xamarin

using Com.Android.DX.Stock; ... Java.IO.File outputDir = context.CacheDir; var clazz = classOnStartTetheringCallback(); var proxy = ProxyBuilder.ForClass(clazz) .DexCache(outputDir).Handler(new InvocationHandler(new OnTetheringStartSupport()))
.Build();