ACRA / acra

Application Crash Reports for Android
https://www.acra.ch
Apache License 2.0
6.29k stars 1.13k forks source link

CrashReportDialog #116

Closed shahryary closed 9 years ago

shahryary commented 10 years ago

hi , now in my project I ran ACRA with SherlockFragmentActivity But I get error when I wanna run it ! it's my stack trace :

STACK_TRACE=android.content.ActivityNotFoundException: Unable to find explicit
   activity class {infinity.zone.etaconvert/org.acra.CrashReportDialog}; 
   have you declared this activity in your AndroidManifest.xml?

and it's my Manifest.xml :

    <activity android:name="org.acra.CrashReportDialog"
        android:theme="@android:style/Theme.Dialog"
        android:launchMode="singleInstance"
        android:excludeFromRecents="true"
        android:finishOnTaskLaunch="true" />
KevinGaudin commented 10 years ago

Can you paste here the whole content of your AndroidManifest.xml ?

shahryary commented 10 years ago
<?xml version="1.0" encoding="utf-8"?>
<manifest package="infinity.zone.etaconvert"
android:versionCode="1"
android:versionName="1.0" xmlns:android="http://schemas.android.com/apk/res/android">

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

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

<application
    android:name="infinity.zone.convertors.MyApplication"
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >

    <activity
        android:name="infinity.zone.etaconvert.MainActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity android:name="org.acra.CrashReportDialog"
        android:theme="@android:style/Theme.Dialog"
        android:launchMode="singleInstance"
        android:excludeFromRecents="true"
        android:finishOnTaskLaunch="true" />

    <activity
        android:name="infinity.zone.etaconvert.SettingsActivity"
        android:label="@string/title_activity_settings" >
    </activity>
    <activity android:name="infinity.zone.etaconvert.Sources" />
    <activity android:name="infinity.zone.convertors.ShareApps" >
        <intent-filter>
            <action android:name="infinity.zone.convertors.ShareApps" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
</application>

william-ferguson-au commented 10 years ago

Can you paste the full stacktrace?

The error doesn't seem to match up with what is in your AndroidManifest.

william-ferguson-au commented 9 years ago

Closing - missing info