The following classes could not be instantiated:
- android.support.v4.widget.DrawerLayout (Open Class, Show Exception)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE
我使用了NavigationDrawer这个模块去创建,多个目标api之下都发生了报错,
这个drawerlayout扩展自 ViewGroup
网上有说是api问题,试了一下api
可以运行在模拟器上,只是编辑器不能查看
开发环境是Android Studio 0.8.9
时间: 2024-12-15 11:59:26