- Install Android Studio
- Follow instructions here for setup https://developer.android.com/studio/run/emulator
- Make sure you have Java 8 installed locally -
brew tap adoptopenjdk/openjdk && brew install --cask adoptopenjdk8
- Change the JDK in IntelliJ to build using the correct version.
- Select
ablaevent-sample
and the device on the top bar and click run
- Make sure you have Android Studio, it's set up correctly, and you have Java 8 installed locally.
- Make sure your JDK matches the project's version and what you just installed (Java 8 adoptopenjdk). Go to "view -> tool windows -> gradle -> build tool settings -> gradle settings -> change gradle JDK version".
- In the file navigation section, go to "Project Files -> Tests".
- Right click on a test file to run it or use the toolbar on top.