Unincluded `.so` file
niehusst opened this issue · 0 comments
niehusst commented
Firebase saw error when user tries to auth with spotify, but keys service couldn't load secrets from ndk:
Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libkeys.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1664)
at com.niehusst.partyq.services.KeyFetchService.<clinit>(KeyFetchService.java:10)
at com.niehusst.partyq.repository.SpotifyAuthRepository.authenticateWithSpotfiy(SpotifyAuthRepository.java:6)
at com.niehusst.partyq.ui.spotifyLogin.SpotifyLoginViewModel.connectToSpotify(SpotifyLoginViewModel.java:6)
at com.niehusst.partyq.ui.spotifyLogin.SpotifyLoginFragment$setClickListeners$1.onClick(SpotifyLoginFragment.java:6)
at -$$LambdaGroup$js$M3xrR4jdhw5PQW0KzRZwpGNwJeM.onClick(-.java:6)
at android.view.View.performClick(View.java:7448)
at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:3)
at android.view.View.performClickInternal(View.java:7425)
at android.view.View.access$3600(View.java:810)
at android.view.View$PerformClick.run(View.java:28305)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
(from .aab beta test release build)
Best guess is perhaps some ABI issue where the .so
file wasn't compatible/buildable on the device? But from the Application.mk
file it seems like all ABI would work (after all, they are just getter functions).
Doesnt seem to be proguard issue since app runs fine from direct download release apk