question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Twitter crashes on startup: couldn't find "libcrashlytics.so"

See original GitHub issue

I am running a self-build LineageOS for microG 15.1 on Moto G5 Plus (potter) without any special tools like XPrivacy or something. MicroG is on version 0.2.4-111-gf1cdb48.

I installed Twitter 7.56.0.1048 via Yalp Store and it immediately crashes after lauchn with the following exception logged:

08-05 19:08:46.918 31805 31805 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.twitter.android-Tc_VgMkIfeomZyT8zmIiMQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.twitter.android-Tc_VgMkIfeomZyT8zmIiMQ==/lib/arm64, /system/lib64, /system/vendor/lib64]]] couldn't find "libcrashlytics.so"
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at java.lang.System.loadLibrary(System.java:1657)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.crashlytics.android.ndk.JniNativeApi.<clinit>(Twttr:13)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.crashlytics.android.ndk.g.a(Twttr:19)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.crashlytics.android.ndk.b.a_(Twttr:54)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.g.a(Twttr:44)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.services.concurrency.AsyncTask.a(Twttr:611)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.services.concurrency.c.a(Twttr:43)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.h.p(Twttr:69)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.c.a(Twttr:440)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.c.j(Twttr:384)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.c.d(Twttr:342)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at io.fabric.sdk.android.c.a(Twttr:333)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.twitter.fabric.CrashlyticsErrorLogger.<init>(Twttr:41)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.twitter.android.initialization.ErrorReporterInitializer.a(Twttr:65)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.twitter.android.initialization.ErrorReporterInitializer.a(Twttr:49)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at cfy.a(Twttr:123)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at cfy.a(Twttr:89)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.twitter.app.common.base.BaseApplication.onCreate(Twttr:42)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.twitter.app.common.app.InjectedApplication.onCreate(Twttr:24)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.twitter.app.TwitterApplication.onCreate(Twttr:67)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.app.ActivityThread.-wrap1(Unknown Source:0)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:164)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6494)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-05 19:08:46.918 31805 31805 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-05 19:08:46.921 15561 27776 W ActivityManager:   Force finishing activity com.twitter.android/.StartActivity

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
voidstarstarcommented, Sep 17, 2018

I can also confirm this issue. Twitter 7.62.0.1058 microG 0.2.5.12879

It seemed odd that a crash occurred in 7.56 and 7.62 but not in 7.59. I thought that perhaps @ale5000-git reported it working due to some other ROM specific reason, so I tried out 7.59 and it worked! Does Twitter keep enabling/disabling something in their builds?

Possibly related to #208.

Firebase Crashlytics looks like the same thing that Twitter acquired in 2013. I haven’t seen any other apps that have a Crashlytics related crash, so I wonder if Twitter has some type of special API access.

(I’m also obligated to note the humor of a crash analysis tool being the cause of a crash.)

1reaction
chilligercommented, Aug 30, 2018

Can confirm with latest microg and Twitter

Read more comments on GitHub >

github_iconTop Results From Across the Web

Twitter crashes on startup: couldn't find "libcrashlytics.so" #586
I am running a self-build LineageOS for microG 15.1 on Moto G5 Plus (potter) without any special tools like XPrivacy or something.
Read more >
Not initializing Firebase Crashlytics NDK. Libcrashlytics could ...
I tried reporting crashes with Firebase Crashlytics SDK (not the NDK library) by adding the following code and crashes are reported sucessfully.
Read more >
The Twitter App Keeps Crashing on Android? 7 Fixes
If Twitter doesn't appear, tap See all apps and then find and tap on Twitter. Select Storage & cache on the Twitter screen....
Read more >
Dislyte on Twitter: "In case this might happen to you, Boom ...
In case this might happen to you, Boom Boom recommends the following solutions: 1. Clear the App Storage and try to restart the...
Read more >
Twitter app on iMac crashing on opening - Apple Community
My Twitter app on my iMac running BigSur 11.6 suddenly crashed after ... and iOSdevices but can't see anything about the actual desktop...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found