Skeleton Project for BlrKotlin Workshop September 2018
- Android Studio 3.1.4 (Latest stable version)
- Kotlin Plugin 1.2.61
- Spek Plugin needs to be installed. Go to
IDE Settings -> Plugins -> Browse Repositories
, search for "Spek", and install it. - Have at least one emulator set up (with Google APIs since we might integrate location services) or have a device available for running code during the workshop.
- Clone the project.
- Import the project into Android Studio. You might need to disable configure on demand. To do this, go to
IDE Settings -> Build, Execution, Deployment -> Compiler
and uncheck the "Configure On Demand" option. - The project comes bundled with a few sample tests. Run
./gradlew app:testDebugUnitTest
or./gradlew app:tDUT
once to ensure that they run. You'll see a basic test report in the command line once they are done. - Deploy the project on a device. You should see the app load with a blank screen.
- If all checks out, you are set for the workshop. Remember to put gradle in offline mode before coming to the workshop. You can do this by going to
IDE Settings -> Build, Execution, Deployment -> Gradle
and check the "Offline work" checkbox.