Android studio gradle upgrade to 4.10.3, can't find R files later

The gradle of the project was upgraded to 4.10.3, so I also upgraded locally. Everything is downloaded. Configured. The build succeeded, but the R file could not be found. What's even weirder is that the project works fine. The console just outputs the following warning:

API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()'.

Solution: upgrade as. Upgrade Android studio to 3.3.1. And upgrade the sdk to 28.0.3 and restart.

Daily records:

I built walls around myself to keep no one in, and I tried not to let myself out. . . .

I feel more and more how difficult it is to find someone who can speak. Everyone around is talking and wants to talk. But no one was listening. me too. The desire to be understood by others, the desire to be heard by others. As everyone knows, there is no real empathy in this world. Others forget it when they hear it. so. I decided to tell myself these words and learn to communicate to myself. I like to walk aimlessly with headphones on, because at that time, I could not think about anything, and I could think about anything. La la la. . . But I still hope that everyone can find someone who can listen to you, even if he or she doesn't understand your pain. But she tries to understand you, and that's enough. . .

Single cycle "Once upon a time you"

Guess you like

Origin blog.csdn.net/androidzmm/article/details/87912715