我在这一行遇到NoClassDefFoundError错误:
vto.addOnDrawListener(new OnDrawListener() {
关于此代码:
vto = visibleListView.getViewTreeObserver();
vto.addOnDrawListener(new OnDrawListener() {
@Override
public void onDraw() {
Log.v("DRAWING", "DRAWN");
}
});
以下是错误消息:
12-23 21:38:49.068: E/AndroidRuntime(24508): FATAL EXCEPTION: main
12-23 21:38:49.068: E/AndroidRuntime(24508): java.lang.NoClassDefFoundError: com.adylitica.activity.NotesActivity$14
12-23 21:38:49.068: E/AndroidRuntime(24508): at com.adylitica.activity.NotesActivity.onStart(NotesActivity.java:1095)
12-23 21:38:49.068: E/AndroidRuntime(24508): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1136)
请注意,NotesActivity类是我当前正在运行上述代码的类。
要求了解更多详情,谢谢。