About Android 27.1.1 incompatibility issue--Resolving support-annotations version conflicts
Add a piece of code to the Build.gradle, note that the whole project has two build.gradle, one in the project root and the other in App-->build.gradle, and we need to select the second one,
We open this build.gradle, the name shows the app
Add the following code inside:
Resolving support-annotations Version Conflicts
Configurations.all {Resolutionstrategy
. Force ' com.android.support:support-annotations:27.1.1 '
}
The above code resolves the support-annotations version conflict
When the file reloads, it won't get an error.
{
Return sendmessagedelayed (msg, 0);
}
public final boolean sendEmptyMessage(int what) { return sendEmptyMessageDelayed(what, 0); }
Public Final Boolean sendMessage (Message msg) 2022CMA
public final boolean sendEmptyMessageDelayed(int what, long delayMillis) { Message msg = Message.obtain(); msg.what = what; return sendMessageDelayed(msg, delayMillis); } public final boolean sendEmptyMessageAtTime(int what, long uptimeMillis) { Message msg = Message.obtain(); msg.what = what; return sendMessageAtTime(msg, uptimeMillis); }
Public Final Boolean sendmessagedelayed (Message msg, long Delaymillis)
{
if (Delaymillis < 0) {
Delaymillis = 0;
}
Return Sendmessageattime (MSG, systemclock.uptimemillis () + Delaymillis);
}
public boolean sendmessageattime (Message msg, long Uptimemillis) {
MessageQueue queue = Mqueue;
if (queue = = null) {
RuntimeException e = new RuntimeException (
This + "sendmessageattime () called with no Mqueue");
LOG.W ("Looper", E.getmessage (), E);
return false;
}
return Enqueuemessage (Queue, MSG, uptimemillis);
}
2022cm Mobile App Research Center