This git repo contains the skeleton code to get started building out DroidTalk, a messaging app using Kotlin.
Can be found here: https://goo.gl/dCmTtX
There are many ways to deploy the app.
You can either use a real physical Android device 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
- If you are using Android Studio 2.x, install the Kotlin plugin in Android studio: Preferences > Plugins > Search for Kotlin. It may prompt you to search in external repositories, just follow the instructions to install the Kotlin plugin. (The Kotlin plugin comes with Android Studio 3.x.)
- Clone this repository
git clone https://github.com/jleu1656/wwc-droidtalk-kotlin-skeleton.git
- 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 23+) > Next
- Finish to create your new virtual device
Setting up your physical device if you have one with Android 6.0+/API Level 23+ (Marshmellow onwards)
Generally to enable develop options, although this may depend on the model and manufacturer of your phone:
- 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
- Import the project in Android Studio
- Android Studio will likely prompt you to install dependencies unless you already have them, proceed to install them
- In Android Studio, shift + f10 or click on the green play button to build the app. Select a virtual device.
Android developer guide: https://developer.android.com/guide/index.html Material Design: https://material.google.com/