android手机架构现在普遍分位:32位和64位.
android系统下获取架构的方法如下:
String abi = null;
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
abi = Build.CPU_ABI;
} else {
abi = Build.SUPPORTED_ABIS[0];
}
android手机架构现在普遍分位:32位和64位.
android系统下获取架构的方法如下:
String abi = null;
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
abi = Build.CPU_ABI;
} else {
abi = Build.SUPPORTED_ABIS[0];
}
转载于:https://my.oschina.net/lengwei/blog/708633