-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bcpkix-jdk18on 1.78.1: 3 files found with path 'META-INF/versions/9/OSGI-INF/MANIFEST.MF' #1685
Comments
Fixed by adding the
Edit: If you're building your lib as an AAR adding it to |
So these are the multi-release manifests for OSGi. What version of the JVM is your Android platform based on? |
Hi @dghgit, we're using Java 17:
|
Okay, so it's the 8on jar you want, yes the best thing to do is get Android to ignore the extra files then. I guess they haven't got the memo on this one yet... |
Thanks, I'm not familiar with JAR packaging and OSGi so it's good to get confirmation that this is an acceptable workaround for now. I was mostly curious why 1.77 and prior versions didn't have this issue but all of a sudden 1.78 and 1.78.1 both exhibit the same issues with our Android project, but sounds like it may fix itself eventually in the future? |
So 1.77 and earlier wasn't properly supporting multi-release OSGi. 1.78 and later does (or in the case of 1.78 at least tries to). Ideally the Android tools would recognise the files for what they are one day... but in our case we have to keep inserting them for now. |
Thanks @dghgit, that makes a lot of sense now! |
Hi, my team has been using BC for a few years, and we keep it updated from time to time. Our old version was 1.77 and today we wanted to upgrade to 1.78.1, but Gradle sync on an Android library project is currently failing:
Adding an exclusion to
lib/build.gradle
did not work:Has anyone else run into a similar issue?
Our dependency used is
The text was updated successfully, but these errors were encountered: