打完补丁后报错,java.lang.IncompatibleClassChangeError: interface not implemented
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
你好,我们的app正在集成andfix,但是在x86的dalvik机器上发现了如下的错误
java.lang.IncompatibleClassChangeError: interface not implemented
完整的调用堆栈如下
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.IncompatibleClassChangeError: interface not implemented
at android.widget.TextView.setText(TextView.java:2631)
at android.widget.TextView.setText(TextView.java:2598)
at android.widget.TextView.setText(TextView.java:2573)
at com.jd.jonathan.acrossprocessactivitytest.MainActivity$2.onClick(MainActivity.java:45)
at android.view.View.performClick(View.java:2485)
at android.view.View$PerformClick.run(View.java:9080)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
loadPatch过程是成功了的,问题就出在dalvik_dispatcher被调用的过程中,请问有其他人遇到过这个问题吗?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure on an x86 Dalvik device after the reported successful loadPatch call. Start with the dalvik_dispatcher path and the stack frames at android.widget.TextView.setText and MainActivity.java:45. Done means identifying the triggering incompatibility and confirming that the same interaction no longer raises IncompatibleClassChangeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100