« 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 学习笔记-注解+反射读取Bean中数据2 《深入理解Android网络编程》第3章3 TCP/IP协议+SOCKET实现的群聊android应用4 Android Studio:adb not responding5 android GridView实现图库预览图,多选模式下右上角打勾6 Android中万能的BaseAdapter的使用7 android之handler8 教你来彻底理解ldpi、mdpi、hdpi、xhdpi、xxhdpi9 Android ViewPager内容部分随手势上下滑动隐藏与显示Indicator效果的实现10 Android学习【按钮监听】