I am surprised that no one can give you a direct answer. Hope my answer helps.
So, so that Android Studio does not use the support library, especially the notorious AppCompat v7, follow these steps:
1) Gradle Scripts> build.gradle (Module: app)
2) Delete the line labeled compile 'com.android.support:appcompat-v7:22.1.1'
3) res / values /styles.xml> change the parent value to: parent="@android:style/Theme.Holo.Light"
4) AndroidManifest.xml> change the android: theme application to: android:theme="@android:style/Theme.Holo.Light"
5) Go into your activity and delete the line that imports the support library. Change it to: import android.app.Activity;
6) Now in the menu bar: Build> ReBuild Project. Correct any errors, then continue the recovery until you earn it, and then run the project to ensure that nothing works and your links are in order.
For me, I got errors indicating that the application: ShowAsAction is not supported or not. I had to change it to android: ShowAsAction. Just make sure that for any error, read it carefully and follow the recommendations in the small dialog boxes that appear next to the error line.
Chad mx
source share