You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

升级Android至8.0.0后遇INSTALL_FAILED_NO_MATCHING_ABIS错误求助

Fixing INSTALL_FAILED_NO_MATCHING_ABIS on Android 8.0.0

Hey there, sorry you're stuck with this installation error after upgrading to Android 8.0.0. I’ve dealt with this exact issue a few times, so let’s walk through some actionable fixes that should get your app installed properly:

  • Check third-party library ABI support
    More often than not, this error pops up because a dependency (like an SDK or AAR package) in your project doesn’t support the ABIs you’ve specified (x86, armeabi-v7a). Go through your module-level build.gradle dependencies—if any library only supports other architectures (like arm64-v8a or x86_64), either switch to a version that supports your target ABIs, or add those missing architectures to your splits config.

  • Align NDK config with your splits
    If your project uses native code (NDK), make sure your NDK settings match the ABIs you’re building for. Add this to your module-level build.gradle under defaultConfig:

    ndk {
        abiFilters 'x86', 'armeabi-v7a'
    }
    

    Also verify that the NDK version in local.properties is compatible with Android 8.0.

  • Wipe build caches and rebuild
    Stale build artifacts can cause unexpected mismatches. Try these steps:

    • Click Build > Clean Project in Android Studio
    • Follow up with Build > Rebuild Project
    • Manually delete the .gradle, build (root folder), and app/build folders, then rebuild from scratch
  • Verify device/emulator ABI compatibility
    If you’re using an emulator, double-check that its system image uses one of your supported ABIs (x86 or armeabi-v7a). Some Android 8.0 emulator images default to x86_64, which won’t match your APK. For physical devices, confirm the device’s CPU architecture is in your supported list.

  • Temporarily disable universal APK
    Even with universalApk true, universal builds can sometimes have hidden ABI mismatches. Try setting universalApk false in your splits config, build separate APKs for each ABI, then install the one that matches your device/emulator’s architecture.

  • Check Android 8.0 installation permissions
    Android 8.0 introduced stricter rules for installing unknown apps. Ensure you’ve enabled "Unknown sources" in your device settings, or if you’re installing via your app’s code, make sure you’ve requested the REQUEST_INSTALL_PACKAGES permission.

If none of these steps resolve the issue, sharing more details (like your full module build.gradle or list of dependencies) would help narrow things down further.

内容的提问来源于stack exchange,提问作者Hassan Shah

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.29 07:50:09