question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

F-droid build fails due to `core-xxx.jar` being removed during scan

See original GitHub issue

Hi I Have an app that I’m trying to get released on f-droid, which requires all libraries to be fully open source. and it doesn’t allow pre-built libraries (jar files etc.) . currently my build fails due to core-202108261754.jar being removed during scan and remove phase of f-droid build, which seems to be provided as a prebuilt jar file instead of being built from source. here is the short log:

> Task :notifee_react-native:extractReleaseAnnotations FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':notifee_react-native:extractReleaseAnnotations'.
> Error while evaluating property 'hasAndroidAnnotations' of task ':notifee_react-native:extractReleaseAnnotations'
   > Could not resolve all artifacts for configuration ':notifee_react-native:releaseCompileClasspath'.
      > Failed to transform core-202108261754.jar (app.notifee:core:202108261754) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
         > Could not find core-202108261754.jar (app.notifee:core:202108261754).
           Searched in the following locations:
               file:/builds/meypod/fdroiddata/build/com.github.meypod.al_azan/node_modules/@notifee/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.jar

You can see the full build log here: https://gitlab.com/meypod/fdroiddata/-/jobs/2891520735

what is this core file and how can I resolve this issue ? do you have any suggestion ?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
mikehardycommented, Aug 25, 2022

Oh that’s great! That’s basically what I was thinking, and I’m glad it worked out for you. Always happy to see more open source stuff, and as mentioned I am a fan of F-Droid 😃

Cheers

1reaction
mikehardycommented, Sep 5, 2022

What a great result! That’s cool - now f-droid-targeting apps have a maintained notification library, we’ll get the PR mainlined in time (post-vacations) I’m sure, thanks for putting it together

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to integrate Zxing Barcode Scanner without installing the ...
To define ZXing to be a library in your own project, right click your project in the workspace and select Build path>Configure build...
Read more >
Log4j CVE-2021-44228 - Axway Community
We're using API Gateway 7.7. But I would say it is applicable to every tool running on a JVM container, with compromised log4j2...
Read more >
Jmol Files - SourceForge
An interactive viewer for three-dimensional chemical structures.
Read more >
https://ec-mof.njit.edu/jmol/CHANGES.txt
___" from the line for the # previous release; failure to do remove this line ... Jmol due to the redefinition of the...
Read more >
Android Developer Fundamentals Course – Concepts
Developers choose to develop for Android in order ... ProGuard (provided in Android Studio), which detects and removes unused classes, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found