ad-free icon indicating copy to clipboard operation
ad-free copied to clipboard

F-Droid build failed

Open linsui opened this issue 2 years ago • 1 comments

> Task :app:lintVitalRelease FAILED
/builds/2/fdroiddata/build/ch.abertschi.adfree/app/build.gradle:10: Error: Google Play requires that apps target API level 30 or higher.
 [ExpiredTargetSdkVersion]
        targetSdkVersion 27
        ~~~~~~~~~~~~~~~~~~~
   Explanation for issues of type "ExpiredTargetSdkVersion":
   As of the second half of 2018, Google Play requires that new apps and app
   updates target API level 26 or higher.
   Configuring your app to target a recent API level ensures that users
   benefit from significant security and performance improvements, while still
   allowing your app to run on older Android versions (down to the
   minSdkVersion).
   To update your targetSdkVersion, follow the steps from "Meeting Google Play
   requirements for target API level",
   https://developer.android.com/distribute/best-practices/develop/target-sdk.
   html
   https://support.google.com/googleplay/android-developer/answer/113469#targetsdk
   https://developer.android.com/distribute/best-practices/develop/target-sdk.html
1 errors, 0 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
  
  Fix the issues identified by lint, or create a baseline to see only new errors:

android { lint { baseline = file("lint-baseline.xml") } }


For more details, see https://developer.android.com/studio/write/lint#snapshot

Could you please take a look? Thanks!

linsui avatar Aug 18 '22 07:08 linsui

Fixed for F-Droid like this https://gitlab.com/fdroid/fdroiddata/-/commit/71c434afb4bb71f18a436465046d4695e5ad5738

@abertschi maybe this can be integrated here in the code instead?

licaon-kter avatar Aug 18 '22 08:08 licaon-kter

thanks for the ping. I added the fix :+1:

abertschi avatar Aug 18 '22 13:08 abertschi

https://github.com/abertschi/ad-free/commit/95e3723f7136a63979133d7c328c989794052d31

abertschi avatar Aug 18 '22 13:08 abertschi

Thanks!

linsui avatar Aug 18 '22 13:08 linsui

Done https://gitlab.com/fdroid/fdroiddata/-/commit/2db9f5463b37619b18f65935c28a2448e3e27890

licaon-kter avatar Aug 18 '22 15:08 licaon-kter

thanks

abertschi avatar Aug 18 '22 15:08 abertschi