Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

In VS2017 created a new Android Bindings project and added UltraLiteJN17.jar. Selected Build Action of "EmbeddedJar". Compiling for the same version as the Android Xamarin Project - 6.0 Marshmallow. Get the error "Type 'JniDbMgr' already defines a member called 'Release' with the same parameter types". I have changed the Binding Project's "Android Codegen Target:" and "Android Class Parser" on the "Application" tab to cover all permutations. And still the error (along with a boat load of warnings).

asked 27 Jun '17, 12:40

BESpring's gravatar image

accept rate: 20%

Switched the .jar's "Build Action" to "EmbeddedReferenceJar" and it builds. Have referenced the build result in the Droid project and so far it appears to be working as advertised. It's just soooo different from what is used (UltraLite17) in the UWP project.

permanent link

answered 27 Jun '17, 13:59

BESpring's gravatar image

accept rate: 20%

I am assuming, right or wrong, that since it built successfully this was the correct decision. Please advise if there is a "more correct" solution.

(27 Jun '17, 15:39) BESpring
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Jun '17, 12:40

question was seen: 1,520 times

last updated: 27 Jun '17, 15:39