Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install in Xamarin Android #154

Open
dinesh4official opened this issue Jan 8, 2020 · 2 comments
Open

How to install in Xamarin Android #154

dinesh4official opened this issue Jan 8, 2020 · 2 comments

Comments

@dinesh4official
Copy link

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

@drewhannay
Copy link
Contributor

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
Copy link

djmillsuk commented Feb 3, 2021

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();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants