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

[Bug report] barcode-scanning doesn't ship riscv64 binary #872

Open
tadfisher opened this issue Sep 17, 2024 · 0 comments
Open

[Bug report] barcode-scanning doesn't ship riscv64 binary #872

tadfisher opened this issue Sep 17, 2024 · 0 comments
Assignees

Comments

@tadfisher
Copy link

tadfisher commented Sep 17, 2024

Describe the bug
AGP updated the default ABI filters to include riscv64, which causes apps using barcode-scanning without setting ABI filters to fail when uploading to the Play Store. This is because libbarhopper_v3.so is not available for the riscv64 ABI within the AAR.

         > 403 Forbidden
           PUT https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{appId}/edits/{editId}/bundles?uploadType=resumable&upload_id={uploadId}
           ***
             "code": 403,
             "errors": [
               ***
                 "domain": "global",
                 "message": "Your app declares support for 'riscv64' architecture, but the following libraries are missing: [libandroidx.graphics.path.so, libbarhopper_v3.so, libbugsnag-plugin-android-anr.so, libbugsnag-root-detection.so, libdatastore_shared_counter.so]. Update your app to rely on libraries that support 'riscv64' architecture.",
                 "reason": "forbidden"
               ***
             ],
             "message": "Your app declares support for 'riscv64' architecture, but the following libraries are missing: [libandroidx.graphics.path.so, libbarhopper_v3.so, libbugsnag-plugin-android-anr.so, libbugsnag-root-detection.so, libdatastore_shared_counter.so]. Update your app to rely on libraries that support 'riscv64' architecture.",
             "status": "PERMISSION_DENIED"
           ***

Expected behavior
barcode-scanning should probably build libbarhopper_v3.so for riscv64, or the ABI restriction should be documented.

SDK Info:
com.google.mlkit:barcode-scanning:17.3.0

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