The Android-Freckle Android app.
This project is built with Gradle, the Android Gradle plugin. Follow the steps below to set up the project locally.
- Clone Android-Freckle inside your working folder.
- Start Android Studio
- Select "Open Project" and select the generated root Project folder.
- Setup the Keystore configuration by following the steps below;
- Create an account in firebase if you do not own one
- Create an application an application.
- Follow the steps for setting up crashlytics on an android application.
- Download the
google-services.json
file and paste it inapp/src
folder. - Run your application to make sure the application is connected to the
firebase crashlytics
There can be many ways of running your application in Android Studio.
-
First off, lets check out running on an emulator
- We shall start by installing the emulator into your android studio.
Installing the Android SDK manager is the first step. Follow these steps to install the system image.
- Select
Tools
in the task bar. - Go to
SDK manager
. - Select the Android version. (Android 8.1 Oreo /API Level 27 or later).
- Click install.
-
We shall then proceed to run the emulator:
- Open the project in your android studio.
- click the run button in android studio.
- Proceed to
create new virtual device
. - Select the category below:
Phone
- Proceed to the type of tablet to use and click next.
- Select the latest version and the preferred API version
27 or later
. - Click finish.
- Now when you click run, you will be able to select the device chosen and proceed to view your work on the emulator
-
Installing the google play services on our emulator. Follow this link https://medium.com/@dai_shi/installing-google-play-services-on-an-android-studio-emulator-fffceb2c28a1
-
While updating the google play services one can follow this link https://developers.google.com/android/guides/setup http://www.androiddocs.com/google/play-services/setup.html#
Java 8 SE(Java 1.8) is the current stable version used in the app. Download and install from here.
Run java --version
in your terminal to see which version of java you are using. In case you have multiple java versions installed, run /usr/libexec/java_home -V
to see installed versions.(Check this thread in case you run into trouble while switching versions.)