Skip to content
bajtos edited this page Oct 24, 2014 · 1 revision
  • Install Android Studio
  • Open Tools > Android > SDK Manager, make sure you have these modules installed:
    • Tools > Android SDK Platform-tools (latest)
    • Tools > Android SDK Build-tools (the version specified by buildToolsVersion in build.gradle)
    • Android X.Y (API ZZ) > SDK Platform (see compileSdkVersion in build.gradle for the value to use for ZZ)
    • Extras > Android Support Repository
    • Extras > Android Support Library
  • Compile and run unit-test:
    • Run test server in the terminal: node test-server
    • In Android Studio, right-click on the root project and select "Run All Tests"
    • Add an emulator configuration in AVD manager (you will do this only once). Make sure the emulator has SD card support enabled (AVD's config.ini has an entry hw.sdCard=yes)
    • Watch the tests pass.
  • Run the Gradle task dist to create a ZIP archive containing all JARs needed for using LoopBack Android SDK in an Eclipse ADT project. The archive will be created in build/distributions/.
  • Run the Gradle task install to publish artefacts to your local Maven cache. This will way you can test the changes in your application and/or other modules before publishing an official version.
Clone this wiki locally