Running the old project today, an error message is reported
Query data All blog solutions are the same.
Modify build.gradle
the file:
compileSdkVersion
Change to 25buildToolsVersion
Modified to 25.4.0,implementation 'com.android.support:appcompat-v7:25.2.1'
But my android studio is 4.4.4, compileSdkVersion
which cannot be lower than 29. So naturally, the version cannot be lowered.
This error occurs because the build SDK version does not match the support library .
The workaround is simple. Open File–> Project Structure, find the option, and modify it as follows:
If there are multiple modules, modify them all.