Android announcements are reported in DigitsActivity, DigitsActionBarActivity, FailureActivityDelegateImpl

Crashlytics reports crashes that occur in DigitsActivity , DigitsActionBarActivity , FailureActivityDelegateImpl .

Crash: Fatal Exception: java.lang.IllegalAccessError: This activity can only be started from Digits

I get this crash reported several times for each of each assembly that we release.

These steps are apparently part of the Fabric / Twitter SDK for logging in with a phone number. However, I do not use them at all! Does anyone have an explanation of what could be happening here?

+6
source share
1 answer

If you are not using Digit, you can try enabling Twitter-Core :

Update your gradle to:

 dependencies { compile('com.twitter.sdk.android:twitter-core: 1.5.0@aar ') { transitive = true; } } 

And your onCreate to application:

 Fabric.with(this, new TwitterCore(authConfig)); 
0
source

Source: https://habr.com/ru/post/989019/


All Articles