【问题标题】:Android (JAVA) error安卓 (JAVA) 错误
【发布时间】:2017-08-03 04:52:46
【问题描述】:

我得到了以下堆栈跟踪:

java.lang.IllegalStateException: Could not find method submitorder(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.support.v7.widget.AppCompatButton

【问题讨论】:

标签: java android illegalstateexception


【解决方案1】:

查看您的 .xml 并查看 android:onClick 参数。方法名称拼写正确吗?

【讨论】:

    猜你喜欢
    • 2015-04-06
    • 2015-02-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-26
    • 2011-02-12
    相关资源
    最近更新 更多