Here is how to fix Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources
This error is caused by mismatching of gradle plugins, to temporary fix it, you can try this.
Go to project level build gradle and change the current lines to the following:
plugins { id 'com.android.application' version '7.1.2' apply false id 'com.android.library' version '7.1.2' apply false }
The issue should be resolved now