Skip to content

Latest commit

 

History

History
78 lines (44 loc) · 3.04 KB

untitled.md

File metadata and controls

78 lines (44 loc) · 3.04 KB
description
How to set up developer environment and start working on the codebase

Developer Setup

1. Download latest Android Studio and SDK Packets

https://developer.android.com/studio/index.html

2. Get Permission for Figma:

We use Figma to create our UI Designs and Mockups. To see these go to:
https://www.figma.com/file/0YumQIW2i6DQVPX6BjKPuVpi/Amazon-Handmade?node-id=0%3A1

3. Get permission for Firebase:

We use Firebase Firestore for our database. Email [email protected] to get access to this. Then go to the following link to see our database:
https://console.firebase.google.com/u/0/project/handmade-17b08

4. Clone the Github Repo

You can find our github repo here:
https://github.com/syd-baroya/CommunityHelperHandmade
For instruction on how to clone a repo go here:
https://help.github.com/en/articles/cloning-a-repository

5. Install SDK Packages:

Android SDK Build-Tools 28.0.3
It should be ready to build now, if not you would want to press rebuild
*Available Pixel XL API P as emulator to use.

6. Open the android studio project

Go to file -> open

7. Press the green play button to run the app

8. This error code would pop up:

2:19 PM IDE and Plugin Updates: The following components are ready to update: Android Emulator, Intel x86 Emulator Accelerator (HAXM installer), Android SDK Platform-Tools, Android SDK Platform 27, Google APIs Intel x86 Atom System Image

To fix this error:

  1. Press the update button and this message pops up.
  2. Make sure you have Android 6.0 (Marshmallow), Android 8.1 (Oreo)
  3. Press "Update Now"

9. Obtain the api-keys

You need to get our api key's for Amazon Login and for Firebase. Email [email protected] for these files.

The two files you need are Api_key.txt and google-services.json.

Put them here

Notice where api-Key.txt and google-services.json are located

10. Press the green play button again to run the app

11. Use the Pixel API 28. (Android 9, API 28) emulator

12. Login to the app with your amazon account

Successful App running page

If you want to use the test account, use the following info to login:
User: [email protected]
Password: S.A.G.A.S.