简体   繁体   English

Java.Interop Xamarin表单C#

[英]Java.Interop Xamarin Forms C#

Severity    Code    Description Project File    Line    Suppression State
Error       Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Java.Interop, Version=0.1.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Java.Interop.dll'
   at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
   at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
   at Xamarin.Android.Tasks.ResolveAssemblies.Execute() CameraApps3.Droid           

Error when debugging. 调试时出错。 I've refered to this https://stackoverflow.com/a/37802076/5332955 but I cant find the Java.Interop.dll in my folder. 我已经参考了这个https://stackoverflow.com/a/37802076/5332955,但是在我的文件夹中找不到Java.Interop.dll。 Any ideas why the error and suggestion for other solutions? 任何想法为什么会出现错误并提出其他解决方案的建议? Tq q

I'm using MVSP2015 我正在使用MVSP2015

I had the same problem until last day. 直到最后一天我都遇到了同样的问题。 I just asked someone with the java.interop.dll file to send it to me so I can add it as a reference in my app. 我只是问一个带有java.interop.dll文件的人发送给我,以便可以将其添加为我的应用程序中的引用。

I upload the file for u so u can use it if u don't know someone around u with the file. 我为您上传了文件,因此如果您不认识您周围的人,则可以使用它。 U can download it from this link . 您可以从此链接下载它。

Also after fixing this error I got some other java related errors, so I downloaded latest JDK available and added it to my xamarin. 同样,在更正此错误之后,我还遇到了其他一些与Java相关的错误,因此我下载了最新的JDK并将其添加到我的xamarin中。 after that all my problems were fixed and I could work on my app problem-free. 之后,我所有的问题都得到解决,我可以毫无问题地开发应用程序。

Hope I could help. 希望我能帮上忙。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM