MAGPIE agent platform for Android
- Required dependencies
- Quick start
- How to import the project in Android Studio
- Run the tests
- Documentation
- Copyright and license
The Android Build Tools version used is 21.1.2. It is necessary to install this version or change the version to the installed version in /app/build.gradle/ buildToolsVersion "21.1.2"
Two quick start options are available:
- Download the latest release.
- Clone the reop:
git clone https://github.com/aislab-hevs/magpie.git.
-
If no project is open in Android Studio:
- Select "Open an existing Android Studio project"
- Select the folder /magpie/MAGPIE/
- Click on "OK"
-
If an other project is already open in Android Studio:
- Select File -> Import Project...
- Select the folder /magpie/MAGPIE/
- Click on "OK"
-
In Android Studio
- Open the "Android" perspective
- Right click on .ch.hevs.aislab.magpie.simpletest (androidTest) and select "Run" -> "All Tests"
OR
- Open the "Project" perspective
- Right click on /app/src/androidTest/java/ and select "Run" -> "Run 'All Tests'"
-
Command line
- Switch to /magpie/MAGPIE/
- Use the command to execute the tests: ./gradlew build connectedCheck
For testing a running emulator or a connected device is needed.
Code and documentation copyright 2014-2015 AISLab HES-SO Valais. Code released under the BSD license.