I have an IntentService that is using android.support.v4.os.ResultReceiver to pass data. In the IntentService, when I use ResultReceiver.send method to send the result back, Android Studio shows an error saying
ResultReceiver.send can only be called from same library group (groupId=com.android.support)
I get a similar message while calling the constructor of ResultReceiver. But the code runs even with this error. This started showing up after I upgraded support library version to 25.1.1.
What am I supposed to do to get around this?