« The method setClass(Context, Class<?>) in the type Intent is not applicable for the问题 时间:2024-3-2 17:33 作者:韩俊 分类: Android intent.setClass(com.lianxin.RightFragment.this, views.MainActivity.class); 这句改为: intent.setClass(getActivity(), MainActivity.class); 标签: android 上一篇使用chrome调试android前端页面 下一篇android开发之Monkey测试_自动化测试_看看你的应用够不够健壮 热门推荐 1 Android实时获取电量2 CentOS 7下搭建安卓开发环境[Eclipse]3 7.Error提示: main cannot be resolved or is not a field4 【Android与iOS开发对比系列】之 数据存储5 Android--VideoPlay--视频播放器6 简单的android闹钟7 JUnit4 多线程执行测试用例8 ContentProvider深度探索9 Android实战简易教程-第十四枪(介绍SwipeMenuListView-简单实现类似QQ的滑动删除效果)10 android最基本的lsitvew实现下拉刷新,上拉加载更多的demo