I've tried to build my react native based app to expo running "eas build -p android" command using Visual Studio Code. Unfortunately build process failed while "run gradlew" phase. How can I fix this failure?
Error log message from expo is as follow:
Build process on expo is:
So im up to step3 of Firebase setup.. paste code onto Project-level build.gradle (/build.gradle).. but the file doesnt have Dependancies or Repositorie on the file..
Here is a copy of my build.Gradle Project file..
// Top-level build file where you can add configuration options common to all...
If you happen to run across this build error:
What you need to do is open your project build.gradle file and replace
classpath 'com.android.tools.build:gradle:2.0.0-alpha2'
with
classpath 'com.android.tools.build:gradle:2.0.0-alpha3'
It wouldn't hurt to update your Android SDK too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.