My project is opened full of errors and does not run

When I open my project in android studio (3.5.3), It looks like this and almost every xml files are full of errors and not run. I spent so many time googling but no luck. Please help me! –============= build.gradle =============== buildscript { repositories { google() jcenter() } dependencies { classpath ‘com.android.tools.build:gradle:3.5.2’ classpath ‘com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4’ // NOTE:…

Details

How to press Mark As Read Button in Notification with the Help of NotificationListnerService?

public class NotificationListenerExampleService extends NotificationListenerService { @Override public IBinder onBind(Intent intent) { return super.onBind(intent); } @Override public void onNotificationPosted(StatusBarNotification sbn){ //I am sucessfully Receiving Notification } @Override public void onNotificationRemoved(StatusBarNotification sbn){ } } I am able to read Notification content with onNotificationPosted(). How can I press Mark As Read Button in Notification?

Details