Logs (ACRA):

Failed to send crash reports for /data/data/com.mypackage.mobi/app_ACRA-approved/2017-05-11T14:23:52.623+0000.stacktrace android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto:xxxxxxxxxxxxx@xxxxx.xxx flg=0x10000000 (has extras) } at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417) at android.app.ContextImpl.startActivity(ContextImpl.java:957) at android.app.ContextImpl.startActivity(ContextImpl.java:939) at android.content.ContextWrapper.startActivity(ContextWrapper.java:284) at org.acra.sender.EmailIntentSender.send(EmailIntentSender.java:55) at org.acra.sender.ReportDistributor.sendCrashReport(ReportDistributor.java:102) at org.acra.sender.ReportDistributor.distribute(ReportDistributor.java:70) at org.acra.sender.SenderService.onHandleIntent(SenderService.java:69) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) 

Manifesto:

  <application android:name=".MyApp" android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".StartActivity" android:label="@string/title_activity_start" android:theme="@style/AppTheme.NoActionBar"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <!--здесь у меня ещё 2 активити--> </application> </manifest> 

Falls ActivityNotFoundException , although I did not create any intent. Where to dig?

    1 answer 1

    Judging by the log, you are still creating an intent to send an email somewhere.

     Intent emailIntent = new Intent(Intent.ACTION_SENDTO, ....); 

    And on the device there is no application that can handle this intent.

    • I didn't create an intent, it turns out that it is acra - Real KEK