bugly使用

    1.依赖
    compile 'com.tencent.bugly:crashreport:2.5.0'
    2.权限
    
    
    
    
    
    3. 在Application 
    public class MyApplication extends Application {
        @Override
        public void onCreate() {
            super.onCreate();
            //需要获取APPID
            CrashReport.initCrashReport(getApplicationContext(), "a09de1a710", false);
        }
    }

你可能感兴趣的:(bugly使用)