We have a React Native app where after upgrading to Android Studio 3.6.1 and Gradle plugin 3.6.1 we are seeing this compilation error:
Type androidx.appcompa
While I was coding on the android studio on native android.Got the same problem
Type androidx.appcompat.resources.R$dimen is defined multiple times:
The problem is because of the Duplication of the BuildConfig which is present inside the JAVA (Generated) Directory
Here is the solution to fix the problem.
You have to delete the duplicate BuildConfig from the android studio by this process
Problem Solved