I want to share my experience related to this problem. First of all, we know there is a native code being used by our app since Google Play Console gives this error but when there is no native code, then there is no warning.
Task :app:mergeReleaseNativeLibs NO-SOURCE
Task :app:stripReleaseDebugSymbols NO-SOURCE
For example in above case on Android Studio, there is no native lib source, and because of that Google Play Console will not give any warning.
But, if there is a native code and that native code does not provide any debug symbols like (libandroidx.graphics.path.so) https://issuetracker.google.com/issues/356109544), then even you add the necessary configuration into your app, still Google Play Console gives this error.
Solution? Either remove the library dependency (at least in my case, I have achieved the same purpose without using library), or I guess you need to upload debug symbols by yourself into the Google Play Console.