If you want to build the project from the command line instead of android studio, you can just run ./gradlew installDevDebug from the /android directory in your project.
Still if you face issue, open android folder in Android Studio and it will analyze the necessary dependencies and it will make it correct for the project.