The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS when running the project to the Android emulator, the reason for this problem is that the Android emulator is not set to This problem is caused by not setting the Android emulator to support x86.
How to Solve:
In the build.gradle file of the module, under the android tag, add the defaultConfig tag:
ndk {
//Select the .so library of the corresponding cpu type to add.
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86'
// You can also add 'x86', 'x86_64', 'mips', 'mips64'
}
If there has been an ndk tag before, you only need to add it (see Figure 1 below).
, 'x86'
Finally, please note: if you use the emulator, even after adding, ‘x86’, some third-party sdk still can’t work properly (for example, the gps location function of Gaode map, because the emulator has no gps), so for some important functions, if you have a cell phone, try to use it to test.
Read More:
- The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
- [Solved] Phone Debug Program Error: The application could not be installed: INSTALL_FAILED_TEST_ONLY
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] Android Studio 4 Error: The application could not be installed: INSTALL_FAILED_OLDER_SDK
- [Solved] PySide2 Error: This application failed to start because no Qt platform plugin could be initialized
- Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repa
- [Solved] QT Programme Error: error: no matching function for call to…
- Postgis Install Error: could not load library “C:\……“:The specified module could not be found.
- Rabbitmq Install Error (You have already installed the higher version of Erlang)
- [Solved] Xcode13.1 Upgrade Error: CocoaPods installed but not working Failed to build gem native extension
- [Solved] Failed to install the following Android SDK packages as some licences have not been accepted
- Qt error: no matching function for call to ‘MainWindow::connect(QAction*&, void (QAction::*)
- Rendering Problems The following classes could not be instantiated: xml layout file could not be loaded
- [Solved] Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest FAILED和cannot install, GOBIN must be an ab
- [Solved] This application has no explicit mapping for /error, so you are seeing this as a fallback
- Yarn install error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install‘
- Spark-shell startup error: Yarn application has already ended! It might have been killed or unable to launch application master
- [Solved] Non-fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library “libmmkv.so“ not found
- _LSOpenURLsWithCompletionHandler() failed for the application xxx with error -10671 [Solved]