<i id='9HPbT'><tr id='9HPbT'><dt id='9HPbT'><q id='9HPbT'><span id='9HPbT'><b id='9HPbT'><form id='9HPbT'><ins id='9HPbT'></ins><ul id='9HPbT'></ul><sub id='9HPbT'></sub></form><legend id='9HPbT'></legend><bdo id='9HPbT'><pre id='9HPbT'><center id='9HPbT'></center></pre></bdo></b><th id='9HPbT'></th></span></q></dt></tr></i><div id='9HPbT'><tfoot id='9HPbT'></tfoot><dl id='9HPbT'><fieldset id='9HPbT'></fieldset></dl></div>
    <legend id='9HPbT'><style id='9HPbT'><dir id='9HPbT'><q id='9HPbT'></q></dir></style></legend>

      1. <small id='9HPbT'></small><noframes id='9HPbT'>

      2. <tfoot id='9HPbT'></tfoot>
          <bdo id='9HPbT'></bdo><ul id='9HPbT'></ul>
      3. ARM、MIPS、x86 的 Android os.arch 输出?

        Android os.arch output for ARM, MIPS, x86?(ARM、MIPS、x86 的 Android os.arch 输出?)

              • <bdo id='8GEqx'></bdo><ul id='8GEqx'></ul>

                <tfoot id='8GEqx'></tfoot>

                <small id='8GEqx'></small><noframes id='8GEqx'>

                  <legend id='8GEqx'><style id='8GEqx'><dir id='8GEqx'><q id='8GEqx'></q></dir></style></legend>
                  <i id='8GEqx'><tr id='8GEqx'><dt id='8GEqx'><q id='8GEqx'><span id='8GEqx'><b id='8GEqx'><form id='8GEqx'><ins id='8GEqx'></ins><ul id='8GEqx'></ul><sub id='8GEqx'></sub></form><legend id='8GEqx'></legend><bdo id='8GEqx'><pre id='8GEqx'><center id='8GEqx'></center></pre></bdo></b><th id='8GEqx'></th></span></q></dt></tr></i><div id='8GEqx'><tfoot id='8GEqx'></tfoot><dl id='8GEqx'><fieldset id='8GEqx'></fieldset></dl></div>

                    <tbody id='8GEqx'></tbody>
                  本文介绍了ARM、MIPS、x86 的 Android os.arch 输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  为了识别Android设备的平台,java系统属性os.arch"似乎就足够了:

                  In order to identify the platform of an Android device, it seems that the java system property "os.arch" will suffice:

                  Log.i("mytag", "os.arch: " + System.getProperty("os.arch"));
                  

                  大多数 ARM 设备响应:os.arch: armv7l

                  most ARM devices respond: os.arch: armv7l

                  x86 模拟器响应:os.arch: i686

                  对于真实 Intel 和 MIPS 设备的输出是什么?

                  What are the outputs of this for real Intel and MIPS devices?

                  x86 Android 设备:??????

                  x86 Android device: ??????

                  mips Android 设备:??????

                  mips Android device: ??????

                  还有其他平台和变体吗?

                  Any other platforms and variants?

                  为 Google TV

                  EDIT for Google TV:

                  Google TV 似乎对构建代码使用了无".

                  It looks like Google TV uses 'none' for Build code.

                  Vizio 联合主演:os.arch: armv7l , Build.CPU_ABI/Build.CPU_ABI2: none/unknown

                  Vizio Co-Star: os.arch: armv7l , Build.CPU_ABI/Build.CPU_ABI2: none/unknown

                  罗技 Revue:os.arch:i686,Build.CPU_ABI/Build.CPU_ABI2:无/未知

                  Logitech Revue: os.arch: i686 , Build.CPU_ABI/Build.CPU_ABI2: none/unknown

                  为澄清意图而

                  这里的目标是众包真实设备列表的编译及其输出.AOSP 代码的预期输出很有趣,但设备制造商(如上面的旧 Google TV 设备)可能会偏离提供 AOSP 代码的预期输出.

                  The goal here is to crowdsource the compilation of a list of real devices with their output. The expected output from AOSP code is interesting, but device manufacturers, like the old Google TV units above, may deviate from supplying the output expected from AOSP code.

                  推荐答案

                  根据我在 Android 源代码树中可以找到的 ro.product.cpu.abi 属性(您可以作为CPU_ABI 通过 Build 类)应该具有以下架构到值的映射:

                  According to what I can find in the Android source tree the ro.product.cpu.abi property (which you can access as CPU_ABI through the Build class) should have the following architecture-to-value mapping:

                  ARM:armeabi-v7a";(或者可能是armeabi",如果它是一个非常旧/低端的设备)

                  ARM: "armeabi-v7a" (or possibly "armeabi" if it's a really old / low-end device)

                  x86:x86"

                  MIPS:mips"

                  ARM:arm64-v8a"

                  ARM: "arm64-v8a"

                  x86:x86_64"

                  MIPS:mips64"

                  这篇关于ARM、MIPS、x86 的 Android os.arch 输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What header should be used for sending GZIP compressed JSON from Android Client to Server?(应该使用什么标头将 GZIP 压缩 JSON 从 Android 客户端发送到服务器?)
                  Android : Capturing HTTP Requests with non-rooted android device(Android : 使用非 root 的 android 设备捕获 HTTP 请求)
                  How to send a referer request in a url for a webView(如何在 webView 的 url 中发送引用请求)
                  Maintaining session in android ( application stay authenticated on the server side)(在android中维护会话(应用程序在服务器端保持身份验证))
                  Send email in android using JavaMail API with smtp but without SSL(使用带有 smtp 但没有 SSL 的 JavaMail API 在 android 中发送电子邮件)
                  Sending mail in android without intents using SMTP(使用 SMTP 在没有意图的情况下在 android 中发送邮件)
                  <tfoot id='i6Qrz'></tfoot>
                  • <legend id='i6Qrz'><style id='i6Qrz'><dir id='i6Qrz'><q id='i6Qrz'></q></dir></style></legend>

                    <small id='i6Qrz'></small><noframes id='i6Qrz'>

                        • <i id='i6Qrz'><tr id='i6Qrz'><dt id='i6Qrz'><q id='i6Qrz'><span id='i6Qrz'><b id='i6Qrz'><form id='i6Qrz'><ins id='i6Qrz'></ins><ul id='i6Qrz'></ul><sub id='i6Qrz'></sub></form><legend id='i6Qrz'></legend><bdo id='i6Qrz'><pre id='i6Qrz'><center id='i6Qrz'></center></pre></bdo></b><th id='i6Qrz'></th></span></q></dt></tr></i><div id='i6Qrz'><tfoot id='i6Qrz'></tfoot><dl id='i6Qrz'><fieldset id='i6Qrz'></fieldset></dl></div>
                            <tbody id='i6Qrz'></tbody>
                            <bdo id='i6Qrz'></bdo><ul id='i6Qrz'></ul>