The reason I saw this exception on the Internet was that I used Native Lib or JNI or something like that, which is just a messy package related to hardware anyway.
For example, I used an image compression package that involved JNI, and then the above exception occurred when I packaged it.
Solutions:
In the moudle build.gradle file of your app, paste the code in, note the android {} curly braces.
For example, I used an image compression package that involved JNI, and then the above exception occurred when I packaged it.
Solutions:
In the moudle build.gradle file of your app, paste the code in, note the android {} curly braces.
// 解决 native libraries 不支持cpu的体系结构。允许模拟器调试
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a','x86_64'
universalApk true
}
}
---------------------
作者:geekqian
来源:CSDN
原文:https://blog.csdn.net/geekqian/article/details/79032655
版权声明:本文为博主原创文章,转载请附上博文链接!
This allows you to run directly into the emulator, but when you do this, multiple ApKs will be generated in the package, so comment out the above code when you release and rebuild the project to package. Remember to always rebuild projects!
Read More:
- Android installation failure: install_ FAILED_ NO_ MATCHING_ ABIS: Failed to extract native libraries, res=-113.
- Genymotion runs the arm program, install failed no matching ABIS failed to extract native libraries res = – 113
- Error: [VueLoaderPlugin Error] No matching use for vue-loader is found. Make sure the rule matching
- Solution: Spring no matching editors or conversion strategy found
- Error: no such keg: / usr / local / cellular / node & install NVM & Brew install & oh my Zsh. Git install & git set alias & no bundle URL press
- No matching distribution found for tensorflow
- No matching distribution found for exceptions when Python installs docx package
- No matching editors or conversion strategy found
- LIBGL error: no matching fbconfigs or visual s found
- INSTALL PARSE FAILED INCONSISTENT CERTIFICATES error solution
- pod install error: Oh no, an error occurred. (Ultimate Solution)
- Unitypackage failed to install or the express solution could not be installed
- no matching manifest for linux/arm64/v8 in the manifest list entries
- iOS Failed to find matching arch for 64-bit Mach-O input file
- Install python’s C extension compilation environment under windows (solve “error: command’cl.exe’ failed: No such file or directory”)
- Install sql2012 prompt setup account privileges failed solution
- Install Python C extension compiler environment under windows (solve “error: command” cl.exe ‘ failed: No such file or directory”)