Try updating classpath gradle version in android/build.gradle
classpath("com.android.tools.build:gradle:x.x.x") maybe update a more recent version (3.0.1 > 4.0.1), some times this cause problems. After do this, go to android folder in the console (cd android) and clean chache (./gradlew clean),
2
Answers
Try changing
to
Try updating classpath gradle version in android/build.gradle
classpath("com.android.tools.build:gradle:x.x.x") maybe update a more recent version (3.0.1 > 4.0.1), some times this cause problems. After do this, go to android folder in the console (cd android) and clean chache (./gradlew clean),