当我打开我的Acra Library应用程序时,它会崩溃

时间:2017-11-15 13:07:32

标签: android acra

@ReportsCrashes(formKey = "", // will not be used
//http://demo.ivdisplays.net/lms/crasher/crasher.php
formUri = "http://demo.ivdisplays.net/lms/crasher/crasher.php")
public class AppController extends Application {
    @Override
    public void onCreate() 
    {
        isloggedin = 0;
        try 
        {
            super.onCreate();
            mInstance = this;
            ACRA.init(this);
        }
        catch (Exception e)
        {

        }
        //ActiveAndroid.initialize(this);
        //settings = Common.getInstance();
        //settings.attachToContext(this);

    }
}

这是logcat错误

  

11-15 18:28:49.995 28883-28917 /? E / AndroidRuntime:致命异常:   Thread-2315进程:com.purple.lms2,PID:28883   java.lang.InternalError:在运行时关闭时启动的线程   java.lang.Thread.nativeCreate(Native Method)at   java.lang.Thread.start(Thread.java:1063)at   org.apache.http.impl.conn.tsccm.AbstractConnPool.enableConnectionGC(AbstractConnPool.java:145)   在   org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.createConnectionPool(ThreadSafeClientConnManager.java:125)   在   org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager。(ThreadSafeClientConnManager.java:103)   在org.acra.util.HttpRequest.getHttpClient(HttpRequest.java:214)at   org.acra.util.HttpRequest.send(HttpRequest.java:141)at   org.acra.sender.HttpSender.send(HttpSender.java:225)at at   org.acra.SendWorker.sendCrashReport(SendWorker.java:179)at at   org.acra.SendWorker.checkAndSendReports(SendWorker.java:141)at at   org.acra.SendWorker.run(SendWorker.java:77)

0 个答案:

没有答案