Android Virtual Device - Armeabi-v7a vs x86_64

后端 未结 1 634
别跟我提以往
别跟我提以往 2021-02-04 11:14

I want to make my own Android application. I am using Ubuntu 64bit and IntelliJ. In Virtual Device Configuration, it asks me to choose a system image. All of the options have a

相关标签:
1条回答
  • 2021-02-04 11:48

    The fundamental difference is the CPU that is being emulated.

    • Armeabi-v71 emaulates an ARM processor. (For more details on ARM options see: this question.)
    • x86_64 emulates a 64-bit X86 processor.

    The decision on which to choose really depends upon your target device. ARM processors are far more prevalent, so testing your app with the ARM virtual devices often makes sense.

    Another consideration is native code. If your app contains any native code, or 3rd-party libraries with native code, then your choice of virtual device is important. Native code is compiled into libraries (.so files) that are CPU-specific. Thus you would use the ARM virtual devices to test the ARM libraries in your app, and the X86 virtual devices to test the X86 libraries in your app.

    A final consideration is speed of execution. X86 virtual devices will run faster on X86 desktop machines.

    0 讨论(0)
提交回复
热议问题