java.lang.NoClassDefFoundError: android.media.ThumbnailUtils
<p>i try to use the <a href="http://developer.android.com/reference/android/media/ThumbnailUtils.html" rel="nofollow"><code>android.media.ThumbnailUtils</code></a> class to fetch the video thumbnails from  the video which is locate under specified path, for that i use the following code,</p>

<pre><code>Bitmap thumb = android.media.ThumbnailUtils.createVideoThumbnail("/sdcard/video/sample.mp4",
                MediaStore.Images.Thumbnails.MINI_KIND);
return thumb;
</code></pre>

<p>but it generates this exception.<br>
        <code>java.lang.NoClassDefFoundError: android.media.ThumbnailUtils</code> </p>

<p>Anyone suggest some idea to solve this.</p>

<p>Thanks.  </p>
