HarmonyOS 获取arm值?

deviceInfo.abiList这个方法是获取当前设备的arm值,如何获取当前应用APP的arm值?

阅读 440
1 个回答

abilist(CPU指令集),并非支持的指令集数组。指令集当前只会是arm64-v8a、armeabi-v7a、x86\_64其中的一个。所以deviceInfo.abiList获取设备的就行了,暂无获取当前应用APP的arm值这说法。

let abiListInfo: string = deviceInfo.abiList;
console.info('the value of the deviceInfo abiList is :' + abiListInfo);

参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-device-info-V5