0

I am trying to create xamarin android binding for this library Android POS Print SDK. It generates C# classes fine except this one ESCPOSPrinter. This is main class that does all the job. But it is not generated, though it exist in api.xml. Can you advice what can be the problem and how to make it generate this class so i can use it in Xamarin App?

Thanks in advance.

F0rc0sigan
  • 676
  • 2
  • 11
  • 22
  • Look at the build warning, I would expect at least one of them references `ESCPOSPrinter` and the root reason that it is not included. – SushiHangover Sep 25 '17 at 14:08
  • Thanks for response. Yes there is warning "Class Com.Citizen.Sdk.ESCPOSPrinter has unknown base type com.citizen.csjposlib.c.c". Android app sample works with this jar file without any issues. Where can i find this dependency? – F0rc0sigan Sep 25 '17 at 14:45
  • Inside jar file there is folder csjposlib. Do i need to reference it in xamarin somehow? – F0rc0sigan Sep 25 '17 at 14:50
  • That class is probability in the same `.jar`, check the `api.xml` to determine the inheritance tree and see of one of the superclasses' visibility is not public, etc... – SushiHangover Sep 25 '17 at 15:40
  • I checkied api.xml file and here is how looks this class there – F0rc0sigan Sep 25 '17 at 19:10
  • it cant find com.citizen.csjposlib.c.c and that is why dont generate this class. What can i do to help it find it? – F0rc0sigan Sep 25 '17 at 19:11
  • All lower case Java class name (`com.citizen.csjposlib.c.c`), flag those classes as `name="obfuscated">false` – SushiHangover Sep 26 '17 at 05:44

0 Answers0