Android simulator installation app appears install_ FAILED_ NO_ MATCHING_ ABIS error resolution

Android simulator installation app appears install_ Failed_ NO_ MATCHING_ ABIS error resolution

When we want to install the app in the Android simulator of the computer, we will report install_ Failed_ NO_ MATCHING_ ABIS error [as shown in Figure 1] makes app unable to run in simulator. Here are my solutions, hoping to help you!

Install app under Android simulator_ Failed_ NO_ MATCHING_ ABIS error resolution

[figure 1] the ADB install command installs the app

Cause analysis:

The installed app uses native libraries that are inconsistent with the current CPU architecture, which leads to an error. At present, most smart phones still use arm architecture. Although Android supports arm and x86 architecture, their instruction sets are different. The app uses the local library of arm during development, When we create the simulator with AVD, we use x86 CPU, which leads to an error. Therefore, if the app is compiled under x86 architecture, we will create an x86 CPU Simulator. If the app is compiled under arm architecture, we will create an armcpu simulator.

Solution:

First, it depends on the structure of your simulator CPU type, and then directly modify the simulator CPU type to adapt to your native libraries to solve this problem. [as shown in Figure 2]

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>