facebookincubator/spectrum

Fatal Exception: java.lang.UnsatisfiedLinkError

mukkumukesh opened this issue · 2 comments

Update my application from play store with the app bundle

Here is the exception we find from crashlytics details:

Fatal Exception: java.lang.UnsatisfiedLinkError
couldn't find DSO to load: libspectrumpluginjpeg.so
com.facebook.soloader.SoLoader.doLoadLibraryBySoName

com.facebook.soloader.SoLoader.doLoadLibraryBySoName (SoLoader.java:703) com.facebook.soloader.SoLoader.loadLibraryBySoName (SoLoader.java:564) com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:500) com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:455) com.facebook.spectrum.plugins.SpectrumPluginJpeg.ensureLoadedAndInitialized (SpectrumPluginJpeg.java:31) com.facebook.spectrum.plugins.SpectrumPluginJpeg.get (SpectrumPluginJpeg.java:48) com.package.android.activities.application.onCreate (application.java:59) android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1126) android.app.ActivityThread.handleBindApplication (ActivityThread.java:6097) android.app.ActivityThread.-wrap1 (ActivityThread.java) android.app.ActivityThread$H.handleMessage (ActivityThread.java:1791) android.os.Handler.dispatchMessage (Handler.java:106) android.os.Looper.loop (Looper.java:164) android.app.ActivityThread.main (ActivityThread.java:7000) java.lang.reflect.Method.invoke (Method.java) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)

Hi I am using this filter

bundle {
    language {
        enableSplit = true
    }
    density {
        enableSplit = true
    }
    abi {
        enableSplit = true
    }

release {
        minifyEnabled true
        shrinkResources true
        debuggable false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
        signingConfig signingConfigs.release
        ndk {
            abiFilters 'x86', 'armeabi-v7a', 'arm64-v8a'
        }
    }

and

minSdkVersion 21
targetSdkVersion 28

Please help asap. I am stuck

Closing as duplicate of #43 (replied there)