jcabi / jcabi-manifests

Java library for convenient reading of MANIFEST.MF files available in classpath
https://manifests.jcabi.com
Other
60 stars 22 forks source link

it does not work in android app, how can we solve it? #32

Open xiukongtiao opened 8 years ago

xiukongtiao commented 8 years ago

when wen use a own jar in android app, we want to read the manifest file of the jar, but we can not, how can we solve it?

dmarkov commented 8 years ago

@yegor256 take a look at this issue please and dispatch it somehow, see par.21

yegor256 commented 8 years ago

@xiukongtiao should be working. what error/exception do you see? show some code

amihaiemil commented 8 years ago

@yegor256 This is also part of the reason why jcabi-github doesn't work on Android. As far as I know, it's because .apk files are packed differently so the lib cannot find the Manifest.mf file... I read my configs from a .properties files instead.

yegor256 commented 8 years ago

@xiukongtiao what do you think about what @amihaiemil said above? if Android packs files differently, you can't use this library.