working with jar and so files in Xamarin forms

一曲冷凌霜 提交于 2019-12-12 01:22:33

问题


I'm working with Brother Label Printer "QL-710W" for printing purpose. I'm using Xamarin forms targeting Android for printing a web view content.

I'm facing problem in communicating with the printer. They have provided android demo application with code which is working fine for me in Android studio.

I'm trying to use provided .jar files and .so files in Xamarin Android. I'm stuck in adding and consuming .jar and dependent .so files.

Can any one suggest, How to add .jar files and .so files in binding project.

This is the error I'm getting

Java.Lang.UnsatisfiedLinkError: Couldn't load createdata from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/PrintPOC.PrintPOC-1.apk"],nativeLibraryDirectories=[/data/app-lib/PrintPOC.PrintPOC-1, /vendor/lib, /system/lib]]]: findLibrary returned null

来源:https://stackoverflow.com/questions/40485639/working-with-jar-and-so-files-in-xamarin-forms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!