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

INSTALL_FAILED_CPU_ABI_INCOMPATIBLE with ARMv6 device #453

Open
GlassGruber opened this issue May 1, 2024 · 2 comments
Open

INSTALL_FAILED_CPU_ABI_INCOMPATIBLE with ARMv6 device #453

GlassGruber opened this issue May 1, 2024 · 2 comments

Comments

@GlassGruber
Copy link

Hei there,
I've tried install the APK file via ADB on a old 2.3 device, but unfortunately the install command results in an error as in title INSTALL_FAILED_CPU_ABI_INCOMPATIBLE.

By running this command adb shell cat /proc/cpuinfo the relevant returned info is below

Processor       : ARMv6-compatible processor rev 5 (v6l)

I realize ARMv6 is very old so I don't know if it's feasible at all to produce a compatible APK, and I don't know how common was for Android 2.3 devices to be ARMv6 back in the day.

Thank you for your time!

@markusfisch
Copy link
Owner

Hi, and yes, ZXingCpp, the native barcode scanning library this app is using, isn't built for ARMv6, unfortunately 🙈

I'm using my own fork of it, so in theory it should be possible to build a compatible APK. Although that would require a very old version of Android's NDK, too, which may or may not work (probably NDK r8e or earlier, which isn't even available in the Android NDK Archives anymore 😬).

So it may be possible if we can find NDK r8e, and if this can compile my ZXingCpp fork 🤔

@GlassGruber
Copy link
Author

Unfortunate but predictable, I can't tell if it's really worth the effort...
Thank you for your answer!

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