Steps for resolving this issue
- Delete
appcompat_v7
(which is generated while u creating ur project) fromeclipse and workspace
. - If u want to use
fragment
then the class should be extendsFragmentActivity
otherwise extendsActivity
and delete allFragment
stufs. - After that change
style
from allstyles
files and use nativeandroid theme
not any theme fromappcompat
. - Change in
menu
folder is needed.See the code snippet
code snippet for style
<style name="AppBaseTheme" parent="android:Theme.Light">
code snippet for menu
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.android.multitaskme.tasker.SplashActivity" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
android:showAsAction="never"/>
</menu>
Clean ur project and u r good to go.