Bug 42663 - seetest instrumentation jar binding
Summary: seetest instrumentation jar binding
Status: RESOLVED ANSWERED
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 5.1
Hardware: PC Mac OS
: Low normal
Target Milestone: 7.3 (C11)
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2016-07-19 15:37 UTC by LN
Modified: 2016-09-22 07:38 UTC (History)
2 users (show)

Tags: XATriaged
Is this bug a regression?: ---
Last known good build:


Attachments
jar to bind (2.26 MB, application/java-archive)
2016-07-19 15:37 UTC, LN
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description LN 2016-07-19 15:37:58 UTC
Created attachment 16718 [details]
jar to bind

Hi,

Please find the seetest instrumentation jar from below link,

https://docs.experitest.com/display/public/SA/Offline+Instrumenting+Android+Applications

Xamarin is not supporting binding project creation with that jar "instrumentationAddOn21041049.jar"
Comment 1 Atsushi Eno 2016-07-19 16:09:27 UTC
You can try Java Bindings Project to use jar libraries in C# API.
You'll most likely have to "fix up" API description metadata to eliminate type system mismatch between Java and C#/.NET. For details, see;
https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/
Comment 2 LN 2016-07-19 17:19:07 UTC
I had followed the same steps as in the documentation.

i'm getting below errors: 
 
1.  Identifier expected, `string' is a keyword 


2.
 Error CS0102: The type `Com.Gogle.Common.Collect.ImmutableSortedSet' already contains a definition for `id_tailSet_Ljava_lang_Object_'
Comment 3 LN 2016-07-20 09:57:18 UTC
Any support available?
Comment 4 LN 2016-07-20 09:58:27 UTC
I had followed the same steps as in the documentation.

i'm getting below errors: 
 
1.  Identifier expected, `string' is a keyword 


2.
 Error CS0102: The type `Com.Gogle.Common.Collect.ImmutableSortedSet' already contains a definition for `id_tailSet_Ljava_lang_Object_'

Its very urgent fix required in our project.
Comment 5 Atsushi Eno 2016-07-21 10:36:25 UTC
1. You could rename a type member or parameter using `managedName` attribute with <attr> element in metadata fixup, as described in the documentation that can be reached from the link I mentioned above.

2. You could remove a type member or parameter using <remove-node metadata fixup, as described in the documentation that can be reached from the link I mentioned above.