'Why 32 bit Android app can run on 64-bit devices?

I have an app that was running on React Native 0.53, so if I understand it correctly, it's a 32 bit app and it is running perfectly fine on any latest device which is with 64 bit.

Hence the question, what is different now? Why do my app have to be 64-bit if it was 32-bit app yet running fine on 64-bit device?



Solution 1:[1]

You can (almost) always run 32bit apps/programms on 64bit CPUs, but not the other way around.

Lately, android devices are getting more and more RAM, the problem is with a 32bit app you can only access 4GB of RAM. In addition you can perform much more calculations on a 64bit CPU than on a 32bit CPU.

I think you need to support 64bit architectures to be more future-proof.

The android team says:

Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures. 64-bit CPUs deliver faster, richer experiences for your users. Adding a 64-bit version of your app provides performance improvements, makes way for future innovation, and sets you up for devices with 64-bit-only hardware.

Source: https://developer.android.com/distribute/best-practices/develop/64-bit

Solution 2:[2]

32-bit apps are no more supported on 64-bit CPUs.

[INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Error: Failed to install APK again.
Error launching application on sdk gphone64 arm64.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tim
Solution 2 Bama Kant