airbnb / mavericks

Mavericks: Android on Autopilot
https://airbnb.io/mavericks/
Apache License 2.0
5.83k stars 500 forks source link

Sample App in MvRx/sample does not build succesfully #193

Closed vedantroy closed 5 years ago

vedantroy commented 5 years ago

I downloaded the sample app from MvRx/sample. However, when I tried to build it in Android Studio, I got the following error: "ERROR: Plugin with id 'com.android.application' not found.".

Additional Info:

I also noticed that Android studio only lists one build.gradle file (the project build.gradle file) under "Gradle Scripts' and the project build.gradle file seems to be switched with the app-level build.gradle file. Also, when I first loaded the project, Android Studio prompted me to create a "gradle-wrapper.properties" file because apparently it was missing.

Update: It seems like I need to download the entire repository in order to build the sample app?

gpeal commented 5 years ago

@vedantroy Correct. The root gradle project is the root directory of the repo. You have to import that.