Xamarin gradle bindings android


I had created android sdk and is on gradle.

I wanted to use it my in Xamarin project by adding its gradle dependancy. I am following https://marketplace.visualstudio.com/items?itemName=EgorBogatov.XamarinGradleBindings

I added XamarinGradleBindings plugin to visual studio and followed all the steps from above link.

I successful till 3rd step where we get all dependency list. But after that I am getting following error.

System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

at EnvDTE80.Solution2.GetProjectTemplate(String TemplateName, String Language) 

at EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateProjectAndAddReferenceToIt(VSProject sourceProject, Solution2 solution, String newProjectTemplate, String newProjectName, String newProjectDirectory)

at EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateBindingProject(VSProject sourceProject, Solution2 solution, String bindingProjectName, IEnumerable`1 aarFiles, IEnumerable`1 jarFiles, IEnumerable`1 referencedJarFiles, String infoFile)

at EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.<GenerateAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

at GradleBindings.BindingProjectGenerator.<Generate>d__7.MoveNext()

Note: I got same error when i add other gradle dependencies other than my sdk.

Can anyone have idea whats wrong with it? Any suggestions?

asked on Stack Overflow Dec 5, 2018 by Aniket

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0