This git repo contains the skeleton code to get started building out DroidTalk, a messaging app.
There are many ways to deploy the app.
You can either use a real physical Android device, use Genymotion (an Android emulator) or use the inbuilt emulator provided by Android Studio.
Follow the appropriate instructions to set up (at least) one of the ways to deploy the app.
- Make sure you have Java 8
- Install Android Studio, which includes Android SDK
- Clone this repository
git clone https://github.com/jleu1656/wwc-DroidTalk-skeleton.git
- Install Oracle VM VirtualBox. If you already have Oracle VM VirtualBox, make sure that you installed version 5.0.4 or above.
- Install Genymotion, the Android emulator app we will be using for testing DroidTalk
- Install a virtual device with API 19+ on GenyMotion, such as Google Nexus 5 API 21 or Samsung S5 API 19.
- Open AVD Manager in Android Studio
- Select Create Virtual Device > Select a device and click next
- Select a system image (make sure it's API 19+, we recommend 22 or 23) > Next
- Finish to create your new virtual device
- Go to your phone settings > About phone
- Tap on the Build Number 7 times to enable Developer Options
- Go back to the main settings > Developer Options
- Enable USB Debugging
- Open the project in Android Studio
- Launch your virtual device on Genymotion OR connect your Android device via USB to your machine
- In Android Studio, shift + f10 or click on the green play button to build the app. Select a virtual device
To fix: disable audio or change to Core Audio as the Host Audio Driver
- Open Virtual Box
- Select Android VM (e.g. Samsung Galaxy S6 - 6.0.0 - API 23 - 1440x2560)
- Click Settings on top
- Go to Audio and uncheck Enable Audio checkbox
Change add in Genymotion (in Settings) to use the same sdk path as Android Studio. Then close Genymotion and restart Android Studio
Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
Android developer guide: https://developer.android.com/guide/index.html
Material Design: https://material.google.com/