error when installing apk to the phone via adb install -r
:
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
reason:
ndk {
abiFilters "armeabi-v7a"
// abiFilters "x86"
}
:
due to install the APP using the native libraries with the current CPU architecture do not agree, so lead to an error, because the vast majority of smartphones are now using the ARM architecture, while android is support ARM and x86 architecture, but the instruction set is distinct, the APP is used when development ARM of the local library, and we were using the AVD is used when creating the simulator x86 CPU, thus result in an error. So, if the APP is compiled in an x86 architecture we create an emulator for x86CPU, and if the APP is compiled in an ARM architecture we create an emulator for ARMcpu.
is the NDK selected by the packaged apk generation is not compatible with the NDK of the mobile phone system. As long as the NDK type is modified and repackaged,
is ok
Read More:
- To be solved: one SSD failure, format failure
- Solutions for failure to start Axure RP (including failure to uninstall or install. Net framework)
- Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
- Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: … has no certificates at entry AndroidManifest.xml]
- Failure [DELETE_ FAILED_ INTERNAL_ Error]
- Mac HarmonyOS Failure[INSTALL_PARSE_FAILED_USESDK_ERROR]
- Failure [INSTALL_ FAILED_ OLDER_ SDK] solutions
- Failure delivering result ResultInfo
- MPU6050 initialize failure [How to Solve]
- Android Failure [INSTALL_ FAILED_ VERSION_ Downgrad] solutions
- Simple solution for node sass installation failure
- Failure [DELETE_ FAILED_ INTERNAL_ After [error], RM APK is unloaded
- Failure [DELETE_ FAILED_ INTERNAL_ Error] and RM APK is unloaded
- Failure[INSTALL_FAILED_INCONSISTENT_BUNDLE_VERSION] Error while Deploying HAP
- Communication link failure when connecting Doris
- Solution to 800b0001 failure of Windows Update
- NPM and cnpm installation failure solution
- Solution to node sass installation failure
- Resolve nginx startup failure
- Solutions to the failure of importing Python 3.7 SSL module