I am getting this error in android studio
Render problem
Failed to load AppCompat ActionBar with unknown error.
Failed to instantiate one or more classes
The following classes could not be instantiated:
- android.support.v7.widget.ActionBarContainer (Open Class, Show Exception, Clear Cache)
- android.support.v7.widget.ActionBarContextView (Open Class, Show Exception, Clear Cache)
- android.support.v7.app.WindowDecorActionBar (Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE. If this is an unexpected error you can also try to build the project, then manually refresh the layout. Exception Details java.lang.ClassNotFoundException: android.view.View$OnUnhandledKeyEventListener Copy stack to clipboard
So I found two solutions but, what's the difference? I don't want to downgrade and possibly run into future problems and I don't know what the other solution(2) does.
Solution 1 - Downgrade
Solution 2 - Not sure what it does
Failed to load AppCompat ActionBar with unknown error?
P.S New to android studio