Java Can';在play console崩溃报告中找不到异常的确切原因
这是google play控制台中显示的崩溃报告:Java Can';在play console崩溃报告中找不到异常的确切原因,java,android,android-studio,Java,Android,Android Studio,这是google play控制台中显示的崩溃报告: Caused by: java.lang.IllegalStateException: at android.app.Activity.onCreate (Activity.java:1038) at com.tds.order.gui.changePassword.ChangePasswordActivity.onCreate (ChangePasswordActivity.java:39) at android.app.Act
Caused by: java.lang.IllegalStateException:
at android.app.Activity.onCreate (Activity.java:1038)
at com.tds.order.gui.changePassword.ChangePasswordActivity.onCreate (ChangePasswordActivity.java:39)
at android.app.Activity.performCreate (Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)
这是onCreate方法:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_change_password);
ButterKnife.bind(this);
presenter = new ChangePasswordPresenter(this, this); //context & interface
bundle = getIntent().getExtras();
}
我如何确切地知道是什么导致应用程序崩溃?知道这会发生在特定设备上,因此我无法调试它,并且活动的主题是theme.AppCompat.Dialog。检查
ChangePasswordActivity
第39行的语句不知道ChangePasswordPresenter
构造函数使用了哪些参数,您确定必须向其传递两次this
?也许这是个错误?@qki第一个是上下文,第二个是实现的接口,它在其他设备上正常工作。可能事实上,我认为可能是这样。