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

项目里有极光统计,直接崩溃 #313

Open
leocreater opened this issue Jul 8, 2022 · 0 comments
Open

项目里有极光统计,直接崩溃 #313

leocreater opened this issue Jul 8, 2022 · 0 comments

Comments

@leocreater
Copy link

image
at cn.jiguang.analytics.android.api.agent.JMMIDlgPupW.showDialog(Unknown Source:38)
at cn.jiguang.analytics.android.api.aop.JMMIAgent.showDialog(Unknown Source:0)
at com.github.gzuliyujiang.dialog.BaseDialog.show(BaseDialog.java:258)
at cn.jiguang.analytics.android.api.agent.JMMIDlgPupW.showDialog(Unknown Source:38)
at cn.jiguang.analytics.android.api.aop.JMMIAgent.showDialog(Unknown Source:0)
at com.github.gzuliyujiang.dialog.BaseDialog.show(BaseDialog.java:258)
at cn.jiguang.analytics.android.api.agent.JMMIDlgPupW.showDialog(Unknown Source:38)

JMMIAgent hook dialog show方法出现死循环
/**
* 极光分析SDK原因,不能直接 复写show(),会出问题,重新改个名字
*/
public void showSafe(@nonnull FragmentManager manager, @nullable String tag) {
try {
super.show(manager, tag);
} catch (Exception e) {
LogUtils.e("DialogFragement", "-------------- " + e.toString());
if (BuildConfig.DEBUG) {
// showToast(this.getClass().getSimpleName()+" show error tag == " + tag);
}
}
}
麻烦处理一下

liyujiang-gzu added a commit that referenced this issue Jul 11, 2022
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

1 participant