如何查找apk是32位还是64位 [英] How to find if apk is 32-bit or 64-bit

查看:2888
本文介绍了如何查找apk是32位还是64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

给出一个APK,我们如何找到它是32位应用程序还是64位应用程序?我观察到某个应用程序无法在64位android操作系统上运行.我猜它是32位应用程序.

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.

推荐答案

APK是ZIP.您可以打开它并检查目录lib以查看支持哪些体系结构.如果没有目录lib,则它支持所有体系结构.

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位Android向后兼容,并且可以运行32位应用程序.另一方面,Intel Android(32位和64位)与ARM Android的兼容性非常有限(Intel附带了一个名为libhoudini的二进制翻译器,但根据我的经验,它仅适用于非常简单的代码),而ARM Android与Intel Android完全不兼容.这仅影响lib中具有NDK代码的应用程序,纯Java应用程序可以在两者上运行.

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.

这篇关于如何查找apk是32位还是64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆