Getting Started

Building The Source Code

After forking or cloning the project you will need to do the following before you can actually compile the project.

  1. Copy google-services.json into the app/google-services.json

  2. Copy secrets into app/.config/secrets.properties

You can find the files inapp/.travis-ci/

What to do when the build fails?

When the project fails to build even after you've completed the above steps, to resolve this you should try to delete the problematic library files in the .idea/libraries/ folder:

  • Find and delete all theGradle__com_android_support_xxx.xmlfiles

  • In android studio Sync IDE with file system & Sync project files with Gradle files

  • Rebuild your project

You may also find these commands useful

gradle clean (windows)

./gradlew clean (linux)

Getting The API Key

Before you can build & run from the source code you will need an API key from AniList Developer Page, after you will need to copy the ID & Secret and place them intosecrets.properties and that is it!

API_KEY = "API_KEY"
CLIENT_ID = "ID_FROM_ANILIST"
CLIENT_SECRET = "SECRET_FROM_ANILIST"
GIPHY_KEY = "GIPHY_API_KEY"

Make sure that the Redirect URL is set tointent://com.mxt.anitrendas this is what the application listens for after a successful authentication process, the name can be set to whatever you desire

Last updated