ACRA / acralyzer

Open source backend for ACRA reports.
GNU General Public License v3.0
489 stars 90 forks source link

Problems with Acralyzer #60

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi,

i have some Problems with Acralyzer. I made a little Hello World Android App to test Acralyzer but the errors aren't reportet to my Cloudant DB.

Here is my Code:

@ReportsCrashes( formKey = "", formUri = "http://xxx.cloudant.com/acra-myapp/_design/acra-storage/_update/report", reportType = org.acra.sender.HttpSender.Type.JSON, httpMethod = org.acra.sender.HttpSender.Method.PUT, formUriBasicAuthLogin="xxx", formUriBasicAuthPassword="ODKm34wutstEaluhotu1B1yX")

public class myapp extends Application{

  @Override
  public final void onCreate() {

    super.onCreate();
    ACRA.init(this);    

  }

}

To test the reporting i programmed a division by zero when i press a button in the Main Activity:

public class MainActivity extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
}

public void btn_send(View view)  {

    int i = 10 / 0; 

    }
}

It should work in my opinion. I hope you can help me with it.

Athoril

KevinGaudin commented 10 years ago
ghost commented 10 years ago

It works now. I tried to look at the logcat traces and then i realized that i had an error in my manifest file.

Thx for your help.