How to fix message in Android Studio 4.2 to remove jcenter() and migrate to mavenCentral()

Android Studio 4.2 displays below message.Please remove usages of jcenter() Maven repository from your build scripts and migrate your build to other Maven repositories. This repository is deprecated and it will be shut down in the future. To fix it, open the gradle file at the project level, search and and replace jcenter() with mavenCentral(). … Continue reading How to fix message in Android Studio 4.2 to remove jcenter() and migrate to mavenCentral()

Error Junit:Junit:4.12 not found or missing after Android Studio 1.4 to 1.5 update

After I updated Android Studio from 1.4 to 1.5, all went well and the patch got applied. However, when starting the project, I got an error that read something like this. Error Junit:Junit:4.12 not found or missing This error occurred due to gradle not getting updated / synced properly. Apparently, to speed up Android Studio, … Continue reading Error Junit:Junit:4.12 not found or missing after Android Studio 1.4 to 1.5 update