I\'ve been reading the other posts on tracking down the reasons for getting a SIGSEGV
in an Android app. I plan to scour my app for possible NullPointers relate
I faced this issue moment ago, after migrating from android.support
to androidx
.
The problem was renderscript
.
Solution:
I removed from my build.gradle
those two lines:
renderscriptTargetApi 21
renderscriptSupportModeEnabled true
after that project building failed, because of unresolved references:
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrinsicBlur;
so I've changed them to:
import android.renderscript.Allocation;
import android.renderscript.Element;
import android.renderscript.RenderScript;
import android.renderscript.ScriptIntrinsicBlur;
After that all problems were gone.