Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: 'ARMEABI' not targeted by this project [duplicate]

Tags:

android-ndk

We have the following warning that ARMEABI is not targeted by the project.

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

We are not trying to use ARMEABI, as it has been deprecated and should no longer be used. Here is the abiFilters from our build.gradle that sets up what we are using, and 'armeabi' is not listed.

android {
    defaultConfig {    
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
            // these platforms cover 99% percent of all Android devices
        }

What is the android.injected.build.abi that is mentioned in the error?

What is causing the reference to ARMEABI?

like image 442
Jim Leask Avatar asked Sep 25 '18 21:09

Jim Leask


1 Answers

Hit this issue too with Android Studio 3.2. In my case it only appears while running app from IDE on ARM-based device, not when building APK / signed APK or running on x86-based emulator.

So I suppose this is a false warning caused by the list of supported ABIs for target device (the list of ABIs in the warning is equal to Build.SUPPORTED_ABIS or Build.CPU_ABI + Build.CPU_ABI2).

like image 93
gmk57 Avatar answered Nov 25 '22 12:11

gmk57