android studio 错误提示,

两个提示一个是
Render problem:
Failed to load AppCompat ActionBar with unknown error. Tip: Try to refresh the layout.

一个是
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.su



pport.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

求解决,真的不会,小白一个
2018-07-11 09:05 添加评论 分享
已邀请:
1

Lu1se - 码畜程序员

赞同来自: ask

好像是有一个类里的东西没有实现,在logcat里面找报错提示,提示报错的代码位置,蓝色的类加行数。
没有的话就refresh一下或者在build里面点一下rebuild。

要回复问题请先登录注册

退出全屏模式 全屏模式 回复