java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Add these lines styles.xml file:

<style name="QueryTheme" parent="@style/Theme.AppCompat">
 <!-- Any customizations for your app running on devices with Theme.Holo here -->
 </style>

And this line to your ApplicationManifest.xml:

android:theme="@style/AppTheme"

Leave a Reply