This is caused when there is a class file that your code depends on and it is present at compile time but not found at runtime. Look for differences in your build time and runtime classpaths.
>while u r running ur code **android.support.v7.appcompat.R$styleable** class is missing. find the jar which contain this class... add to class path then run.
Visit https://stackoverflow.com/questions/34413/why-am-i-getting-a-noclassdeffounderror-in-java