ClassNotFoundException - android.app.SearchDialog$SearchAutoComplete
<p>The error could be traced to Samsung Galaxy tab. It works fine in Google N1. </p>

<p>I would assume jvm couldn't find class android.app.SearchDialog$SearchAutoComplete in certain phone model. Any idea on how to solve the following error?</p>

<pre><code>java.lang.ClassNotFoundException in com....
java.lang.RuntimeException: Unable to start activity ComponentInfo{SearchActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class android.app.SearchDialog$SearchAutoComplete
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1815)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831)
at android.app.ActivityThread.access$500(ActivityThread.java:122)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4123)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #33: Error inflating class android.app.SearchDialog$SearchAutoComplete
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:682)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:724)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:727)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:727)
at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
at android.view.LayoutInflater.inflate(LayoutInflater.java:391)
at android.view.LayoutInflater.inflate(LayoutInflater.java:347)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:226)
at android.app.Activity.setContentView(Activity.java:1786)
at SearchActivity.onCreate(SearchActivity.java:52)
at android.app.Activity.performCreate(Activity.java:4397)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779)
... 11 more
Caused by: java.lang.ClassNotFoundException: android.app.SearchDialog$SearchAutoComplete in loader dalvik.system.PathClassLoader[/data/app/android-app.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:251)
at java.lang.ClassLoader.loadClass(ClassLoader.java:540)
at java.lang.ClassLoader.loadClass(ClassLoader.java:500)
at android.view.LayoutInflater.createView(LayoutInflater.java:542)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:671)
... 23 more
</code></pre>
