dieser Code unten sind meine einfache Einrichtung ACRA Craches und meine Anwendung Bugs zu bekommen, aber das Setup acra doesnt sendet jeden BerichtAndroid Setup ACRA Anwendung Fehler zu erhalten und stürzt nicht funktioniert
@ReportsCrashes(
/*LOCALHOST*/
formUri = "http://192.168.1.35/acra.php/acra.php",
customReportContent = {ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, ReportField.STACK_TRACE, ReportField.LOGCAT},
mode = ReportingInteractionMode.DIALOG)
public class EpayApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
ACRA.init(this);
}
}
Lokaler Host PHP-Datei:
<?php
// Outputs all POST parameters to a text file. The file name is the date_time of the report reception
$fileName = date('Y-m-d_H-i-s').'.txt';
$file = fopen($fileName,'w') or die('Could not create report file: ' . $fileName);
foreach($_POST as $key => $value) {
$reportLine = $key." = ".$value."\n";
fwrite($file, $reportLine) or die ('Could not write to report file ' . $reportLine);
}
fclose($file);
?>
http://192.168.1.35/acra.php/acra.php
Eingabe seines leere Datei erstellen und es funktioniert nicht irgendein Problem hat, um Bericht zu bekommen, meine acra Version ist 4.9.0
mein Manifest:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:name=".AppApplication"