« 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之从Camera捕获图像讲解(38)2 popupWindow使用详解3 Android Bitmap总结4 Android学习能力之移动应用分析5 You need to use a Theme.AppCompat theme (or descendant) with this activity6 AIDL:远程调用服务里的方法失败,提示取得的IBinder对象NullPointerException7 Android 仿微信阻塞对话框8 Android系统启动过程全解析9 Android程序崩溃统一处理机制10 可扩展的android重打包工具