Bug 25174 - Unable to create the Library project for my app.
Summary: Unable to create the Library project for my app.
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 5.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
Depends on:
Reported: 2014-12-09 05:26 UTC by Tapas
Modified: 2014-12-12 08:55 UTC (History)
1 user (show)

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

"Anypos131 Android 4.2 lottery POS" jar (43.72 KB, application/octet-stream)
2014-12-09 05:27 UTC, Tapas
Binding project (495.14 KB, application/x-zip-compressed)
2014-12-11 02:12 UTC, Tapas

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:

Description Tapas 2014-12-09 05:26:31 UTC
Myself Tapas a xamarin android developer of Dreamztech solution. We are working on a xamarin android project, and from our app we have to interact with "Anypos131 Android 4.2 lottery POS" device. We got a jar file from the hardware company. I have attached that on this post. So please guide me on the same.
Comment 1 Tapas 2014-12-09 05:27:39 UTC
Created attachment 9001 [details]
"Anypos131 Android 4.2 lottery POS" jar
Comment 2 Atsushi Eno 2014-12-09 06:50:37 UTC

This is a bugzilla where people report bugs. If you have questions, Forums is the place to post questions.

You can begin with Xamarin Android documentation about binding library projects.
Comment 3 Tapas 2014-12-11 01:11:23 UTC
Thanks for your reply. I have tried on this way but not success. Actually after create the binding project I cannot access the classes of jar file. Even on build time I am not getting any error. 
So can you please create the building project using the attached jar file and send it to me.
It will be great help for me.

Thanks in advance.
Comment 4 Tapas 2014-12-11 02:06:58 UTC

Now i am getting error "Didn't find the class "cn.wintec.wtandroidjar2.Dsp110" on path: /data/app/MyTeamConnector.MyTeamConnector-1.apk".

Please suggest .
Comment 5 Tapas 2014-12-11 02:12:12 UTC
Created attachment 9027 [details]
Binding project

I have attached my Binding project as well.
I think I am missing some steps. Please look into the attached code and guide me.
Comment 6 Atsushi Eno 2014-12-11 03:04:53 UTC
Let me rephrase, this is a bugzilla where people report bugs. If you have questions, Forums is the place to post questions.

Anyhow for your project, change the build action on WTAndroidJar2.jar from InputJar to EmbeddedJar. That will make it to embed your jar into your application apk.
(InputJar is used where you shouldn't embed it, such as old Google Maps API.)
Comment 7 Tapas 2014-12-12 08:55:57 UTC
Now I am getting the below error:
"couldn't load jni from loader dalvik.system.pathclassloader"

not sure where , I mean on which location we have to add "libjni.so" file. And how we add this.

Please suggest...