WARNING: ABIs [armeabi-v7a,armeabi] set by 'android.injected.build.abi' gradle flag contained 'ARMEABI' not targeted by this project

后端 未结 4 2065
面向向阳花
面向向阳花 2020-12-01 18:11

I had this issue last time after upgrade NDK version to latest version in Android Studio. I also found solution to fix this. If anyone has this issue , I hope it is the best

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-01 18:21

    According to Android documentation this is a known issue, and its due to the fact that the gradle plugin still includes unsupported ABIs by default. armbeabi was deprecated in NDKr16 and removed in r17 hence the warning. To fix, list your supported architectures under splits.abi:

    ...
    splits {
        abi {
            ...
            reset()
            include "x86", "armeabi-v7a", ...
        }
    }
    

提交回复
热议问题