« 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 Android Studio 新建项目的R文件丢失的解决方法3 Android TabHost中使用startActivityForResult无法接收返回值的解决方案4 android 网络框架 volley5 性能优化之Java(Android)代码优化6 Android 4.4 Dialog 被状态栏遮挡的解决方法7 Android4.4 wpa_supplicant深入分析之wpa_supplicant初始化流程续8 Android按返回键(后退键)Back键事件捕获的两种方法9 android 中添加字体:java.lang.RuntimeException: native typeface cannot be made10 Android圆形图片--自定义控件