Skip to content

unparalleled/kcards

Repository files navigation

Kcards

Language flash cards

This app was originally developed for learning Korean, but now supports the following languages:

  • Chinese
  • English
  • French
  • German
  • Italian
  • Japanese
  • Korean

see Language.java

Build Tools

  • Android Studio 2.2.3+
  • JRE 1.8.0_112+

Project Setup

  1. Download ZIP and unzip OR use terminal: git clone https://github.com/unparalleled/kcards.git
  2. Open Android Studio to first window titled Welcome to Android Studio
  3. Select Open an existing Android Studio project
  4. Find the directory and click OK
  5. You should expect BUILD FAILED with an error File google-services.json is missing
  6. Setup Firebase

Firebase Setup

  1. Sign in (or sign up) for a Google account
  2. Open the Firebase Console
  3. Click CREATE NEW PROJECT
  4. Use anything for the Project name
  5. Click CREATE PROJECT
  6. On the overview screen, click Add Firebase to your Android app
  7. For package name, use com.mrkevinthomas.kcards
  8. Click ADD APP which downloads google-services.json, but delete it because it's missing the api key
  9. Don't worry about updating build.gradle because the google services plugin is already applied
  10. Go to Firebase Console -> Authentication, click SIGN_IN METHOD tab, and enable Anonymous
  11. Go to Firebase Console -> Settings and Download the latest config file
  12. Place the file here: app/google-services.json
  13. In Android Studio, go to Build -> Rebuild Project
  14. Run!