-
Notifications
You must be signed in to change notification settings - Fork 36
Compilation guide
Kaustubh Patange edited this page Apr 17, 2021
·
13 revisions
Install Android Studio
You need this IDE in order to compile the project.
- Clone the repository with git.
git clone https://github.com/KaustubhPatange/Moviesy.git
- Due to IAP, some modules within the project are hidden which will make your build fail. But there is a
tar.gz
file that contains the skeleton structure of those files.
cd Moviesy && tar -xvzf art/module.tar.gz
- This project uses Firebase Authentication (for purchase premium), Analytics & Crashlytics for gathering user usage info. So you need
google-service.json
to be present in the right folder. Unfortunately, I can't give you mine because of security issues but I've created a demo one.
copy art/debug.json app/google-service.json
- Add the following property to your local.properties file
- Don't have TMDB API key you can create a new key from here.
tmdb_api_key = YOUR_API_KEY
interstitial_ad_id = ADUNIT_ID
google_client_id_web = CLIENT_ID
- Run the build with the IDE or via Gradle.
./gradlew app:assembleDebug
- If you get
google-service.json
not found error while compiling the project then you may need to create a new Firebase project, add this app & then place thegoogle-service.json
file in the right directory. Unfortunately, I can't send you mine because of security issues :)