Skip to content
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

F-Droid reproducible build failed #254

Open
linsui opened this issue Nov 24, 2024 · 4 comments
Open

F-Droid reproducible build failed #254

linsui opened this issue Nov 24, 2024 · 4 comments

Comments

@linsui
Copy link

linsui commented Nov 24, 2024

https://gitlab.com/fdroid/fdroiddata/-/jobs/8455720563 Your apk is not built from the tag. Could you please rebuild it from the tag?

@Razeeman
Copy link
Owner

Hello! Built apk again and updated release. Can f-droid build be triggered again?

@linsui
Copy link
Author

linsui commented Nov 24, 2024

We find that there is a DependencyInfoBlock in your APK.

It's a Signing block added by AGP and encrypted with the Google public key so it can't be read by anyone else except Google. You can read more about it here and here.

While this was added a while ago, we were only enforcing it for new apps, and recently we started scanning updates too.

Could you please disable it with the following code?

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

Thanks!

@Razeeman
Copy link
Owner

Didn't know about this. Is this a requirement for publishing recent update? Or it could be published without it and I will make this change for the next update?

@linsui
Copy link
Author

linsui commented Nov 24, 2024

You can make this change for the next update. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants