Bug 14344 - Wrapping Project Library Zip
Summary: Wrapping Project Library Zip
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.8.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2013-08-30 08:53 UTC by amehta
Modified: 2013-09-24 09:13 UTC (History)
2 users (show)

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

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 INVALID

Description amehta 2013-08-30 08:53:19 UTC
I am trying to wrap an Android Project Library. I followed the instructions on the Xamarin website http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)#5.android-library-projects 

I made the .zip file and added it to my project and set the build action as LibraryProjectZip. But I keep getting an error saying that "Atleast one input jar must be specified".
Comment 1 Atsushi Eno 2013-08-30 10:40:03 UTC
Does the library actually contain any .jar file?
Comment 2 amehta 2013-09-20 10:00:27 UTC
Hi Atsushi,

Here is the dropbox link to the project

https://www.dropbox.com/s/dm0zjrq5jwai4ka/PdfReader.zip

please let me know if you can find whats wrong with how I am wrapping the project.

Thanks,
Aditya
Comment 4 amehta 2013-09-23 11:31:12 UTC
Could I please get some feedback on this bug?
Comment 5 Atsushi Eno 2013-09-24 04:00:47 UTC
It is because the zip file does not conform to the expected directory strucuture. It should contain the *contents* of the top "pdfreader" directory.
Comment 7 Atsushi Eno 2013-09-24 09:13:12 UTC
What I meant is, your directory structure in your archive is like this:

pdfreader.zip
  /pdfreader
   /bin
   /res

This has to be changed to

pdfreader.zip
  /bin
  /res