« 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开发:shape和selector和layer-list的(详细说明)2 android定义theme和style3 Android自定义View的实现方法,带你一步步深入了解View(四)4 Android 自定义Dialog样式5 Android---45---使用AIDL Service传递复杂数据6 人员登入4---EJB配置编写7 用XMPP实现完整Android聊天项目8 使用Kotlin开发Android应用(I):简介9 Android 图片轮播10 8.Tomcat 如何启动停止?