我怎么知道Android应用程序支持64位? [英] How to i know android app supports 64bit?

查看:1736
本文介绍了我怎么知道Android应用程序支持64位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将gradle更改为类似的内容,

I have changed the gradle to something like this,


与Google Dev提供的文档。

which is in accordance with the documentation from Google Dev.

那我怎么知道我的应用程序是否支持64位?

then how do I know if my application supports 64 bits?

我尝试使用Build-> Analyze APK ,但是找不到格式为.so的lib文件夹或文件。

如何解决?

I tried with Build -> Analyze APK, but I did not find the lib folder or file with the format .so. how to solved this?

推荐答案

64位更改仅影响使用本机代码的应用程序,即使用设备上的处理器编译的代码,而不是用Java或Kotlin编写的代码。

The 64 bit change only affects apps that use "native code", ie code that compiles for the processor on the device, as opposed to being written in Java or Kotlin.

如果是前者,那么您应该知道如何定位更多处理器(参见此页面)。
如果是后者,则您需要与第三方库的开发人员联系。

If the former, then you should know how to target more processors (See this page). If the latter then you will need to talk to the developer of the third party library.

但是,如果您的应用程序没有.so文件,并且完全用Java或Kotlin编写,您无需执行任何操作,它支持64位。

But if your app has no .so files, and it is entirely written in Java or Kotlin, you don't need to do anything, it supports 64 bit.

这篇关于我怎么知道Android应用程序支持64位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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