markusfisch / BinaryEye

Yet another barcode scanner for Android
https://play.google.com/store/apps/details?id=de.markusfisch.android.binaryeye
MIT License
1.47k stars 121 forks source link

INSTALL_FAILED_CPU_ABI_INCOMPATIBLE with ARMv6 device #453

Open GlassGruber opened 5 months ago

GlassGruber commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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