java - NoClassDefFoundError when running PopupMenu using android-support-v7-appcompat library in android -


i trying implement popup menu in android application supported android 2.2 . used android-support-v7-appcompat support library it. unfortunately getting java.lang.noclassdeffounderror exception. can't able sort out , can me out? in advance!

the logcat shows,

06-27 15:40:30.160: e/androidruntime(26985): fatal exception: main 06-27 15:40:30.160: e/androidruntime(26985): java.lang.noclassdeffounderror:  android.support.v7.internal.view.menu.menubuilder 06-27 15:40:30.160: e/androidruntime(26985):    @ android.support.v7.widget.popupmenu.<init>(popupmenu.java:66) 06-27 15:40:30.160: e/androidruntime(26985):    @ com.example.basic.mainactivity$4.onclick(mainactivity.java:401) 06-27 15:40:30.160: e/androidruntime(26985):    @ android.view.view.performclick(view.java:4421) 06-27 15:40:30.160: e/androidruntime(26985):    @ android.view.view$performclick.run(view.java:17903) 06-27 15:40:30.160: e/androidruntime(26985):    @ android.os.handler.handlecallback(handler.java:730) 06-27 15:40:30.160: e/androidruntime(26985):    @ android.os.handler.dispatchmessage(handler.java:92) 06-27 15:40:30.160: e/androidruntime(26985):    @ android.os.looper.loop(looper.java:213) 06-27 15:40:30.160: e/androidruntime(26985):    @ android.app.activitythread.main(activitythread.java:5225) 06-27 15:40:30.160: e/androidruntime(26985):    @ java.lang.reflect.method.invokenative(native method) 06-27 15:40:30.160: e/androidruntime(26985):    @ java.lang.reflect.method.invoke(method.java:525) 06-27 15:40:30.160: e/androidruntime(26985):    @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:741) 06-27 15:40:30.160: e/androidruntime(26985):    @ com.android.internal.os.zygoteinit.main(zygoteinit.java:557) 06-27 15:40:30.160: e/androidruntime(26985):    @ dalvik.system.nativestart.main(native method) 

check out project -> properties -> java build path/order , export. check library , dependencies android.support.v7.internal.view.menu.menubuilder


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -