Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find if apk is 32-bit or 64-bit

Tags:

android

apk

Given a APK, how can we find whether its a 32-bit app or a 64-bit app? I am observing an app is unable to run on 64-bit android OS. I guess its a 32-bit app.

like image 492
Tanmay Varun Avatar asked May 20 '15 11:05

Tanmay Varun


People also ask

How can I tell if an APK is 32 or 64-bit?

APK is ZIP. You can open it and check directory lib to see which architectures are supported. If there is no directory lib , it supports all architectures. 64-bit Android is backwards compatible and can run 32-bit applications.

How do I know if my android is 64-bit or 32-bit?

Nowadays if the developer publishes the app as app-bundle Google only sends those partial APK to your device that match your device platform. Hence if you see an APK file named "armv8" it is 64bit, in case of an armv7[e] it is 32bit.

How do I know if my app is 64-bit android?

Assuming you've already bought the device, and opened it, you can go through the device's settings, and install apps to check if an Android phone is 32-bit or 64-bit. Open Settings and go to either 'System', or 'About Phone'. The name will differ based on your device but you're looking for information about your phone.


1 Answers

APK is ZIP. You can open it and check directory lib to see which architectures are supported. If there is no directory lib, it supports all architectures.

64-bit Android is backwards compatible and can run 32-bit applications. On the other hand, Intel Android (both 32-bit and 64-bit) has very limited compatibility with ARM Android (a binary translator called libhoudini is shipped on Intel but from my experience, it works for only very simple code), and ARM Android is completely incompatible with Intel Android. This affects only applications with NDK code in lib, pure Java applications can be run on both.

like image 55
StenSoft Avatar answered Oct 12 '22 00:10

StenSoft