Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodException: onCallBackAction #44

Open
15321657258 opened this issue Sep 19, 2018 · 1 comment
Open

NoSuchMethodException: onCallBackAction #44

15321657258 opened this issue Sep 19, 2018 · 1 comment

Comments

@15321657258
Copy link

NoSuchMethodException: onCallBackAction
这个错误好像是把加载的文件名第一个字母改成非数字就行 了

@Louisyong9527
Copy link

这个错误不影响app功能,可以用拦截器拦截,
compile 'com.wanjian:cockroach:0.0.5'

application onCreate中初始化

/**
* 异常捕捉
*/
private void initCockroach() {
Cockroach.install(new Cockroach.ExceptionHandler() {
@OverRide
public void handlerException(final Thread thread, final Throwable throwable) {

            new Handler(Looper.getMainLooper()).post(new Runnable() {
                @Override
                public void run() {
                    try {
                        //建议使用下面方式在控制台打印异常,这样就可以在Error级别看到红色log
                        //Log.e("AndroidRuntime==","--->CockroachException:"+thread+"<---",throwable);
                    } catch (Throwable e) {

                    }
                }
            });
        }
    });

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants