INSTALL FAILED U NO MATCHING ABIS

Why can’t you stop buying 618?From the technical dimension to explore>>>

#Background

Change group, went to UC international browser, was hugged changed. Still in the familiar stage, I tried the ADB, and then I came across the install_ FAILED_ NO_ MATCHING_ The pit of ABIS

#Solutions

INSTALL_ FAILED_ NO_ MATCHING_ ABISis when you are trying to install an app that has native libraries and it doesn’t have a native library for your cpu architecture. For example if you compiled an app forarmv7and are trying to install it on an emulator that uses theIntelarchitecture instead it will not work.

Understand the general principle: the application uses the native library (NDK). The compilation target of these libraries is usually the CPU of arm architecture. Running on the x86 simulator will report such an error

If you know the reason, it’s easy to build a new arm based simulator. What’s painful is that the simulator card is dying and can’t work

#Follow up

In fact, the cause of this problem was found very quickly, but the actual solution was one day later

is too laggy to wait for the mobile phone simulator to open and the ADB install command not to wait. p>

The second is: when creating a new arm architecture simulator, as prompted me not to recommend creating an arm architecture, but strongly recommended using x86. At first, I thought that because the system was 64 bit and the new 32-bit CPU was a problem, I still created an x64 simulator

#References

https://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk
https://juejin.im/post/5a30dca7f265da4324807033

Similar Posts: