ACRA 不发送到电子邮件

ACRA not sending to eMail

我正在尝试将崩溃报告发送到电子邮件,但是当我的应用程序崩溃时什么也没有发生。我试着搞乱配置,但我一直收到错误(大多数是未知成员,就是这样)。这是我的 class.

代码
    @ReportsCrashes(
    mailTo = "me@gmail.com")
public class MyApplication extends Application
{
    @Override
    public void onCreate() {
        super.onCreate();

        // The following line triggers the initialization of ACRA
        ACRA.init(this);
    }
}

我的清单:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.ghostdevelopment.ueni2"
    android:versionCode="1"
    android:versionName="1.0"
    android:debuggable="true">

    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

    <uses-sdk 
        android:minSdkVersion="8" 
        android:targetSdkVersion="25" />

    <application
        android:name="MyApplication"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:label="@string/app_name"
            android:name="com.ghostdevelopment.ueni2.MainActivity" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:label="Ship Database"
            android:name=".ShipInfo" />
    </application>

</manifest>

根据您的 logcat,您的应用似乎没有包含 ACRA 库。您需要配置您的构建,以便 ACRA 包含在您的 APK 中。