BinaryEye icon indicating copy to clipboard operation
BinaryEye copied to clipboard

INSTALL_FAILED_CPU_ABI_INCOMPATIBLE with ARMv6 device

Open GlassGruber opened this issue 1 year ago • 2 comments

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!

GlassGruber avatar May 01 '24 09:05 GlassGruber

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 🤔

markusfisch avatar May 01 '24 20:05 markusfisch

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

GlassGruber avatar May 02 '24 20:05 GlassGruber