I met compile error like this. How can I fix it?
/node_modules/react-native-config/android/dotenv.gradle' line: 83
This issue happens 'com.android.tools.build:gradle:4.1.0' not 'com.android.tools.build:gradle:4.0.2'.
I have faced this issue as well.
The above solution seems to be the only workaround.
@jihokim2 Can you change the issue title to be more descriptive e.g.
"Support newest Android Gradle Plugin version 4.1.0" ?
I think 'Fix for gradle 4.1.0. #502's solution. Is it solution? @anfriis
Yes that PR could be a solution to this issue.
But I still think you should change the title of this issue to be more descriptive.
Sorry, I changed title of the issue. Thank you for this.
After I update react-native-config 1.4.0, this issue disappeared
Most helpful comment
After I update react-native-config 1.4.0, this issue disappeared