ERROR:The method getActivityManager() from the type MyApplication refers to the missing type ActivityManager
1条回答 默认 最新
- 半似程序半似猿 2017-09-01 03:11关注
ActivityManager activityManager=(ActivityManager) this.getSystemService(Context.ACTIVITY_SERVICE) ;
List list = activityManager.getRunningAppProcesses();不知道这两行代码是否符合你的需求 看不到你application中的代码
解决 无用评论 打赏 举报