-
Install Android Studio
-
Open Tools > Android > SDK Manager, make sure you have these modules installed:
- Tools > Android SDK Platform-tools - version 21 or newer
- Tools > Android SDK Build-tools - version 21.1.2
- Android 5.0.1 (API 21) > SDK Platform
- Extras > Android Support Repository
- Extras > Android Support Library
-
Download test dependencies:
- Run
npm install
in the terminal.
- Run
-
Compile and run unit-test:
- Run test server in the terminal:
node test-server
- In Android Studio, right-click on strong-remoting-android and select "Run All Tests"
- Add an emulator configuration in AVD manager (you will do this only once)
- Watch the tests pass.
- Run test server in the terminal:
-
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 inbuild/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.
Follow these steps to update the API documentation at http://docs.strongloop.com:
-
Update javadoc files
$ rm -rf build/docs/javadoc/ $ ./gradlew updateApiDocs -P version={version-to-print-in-docs} \ -P strongRemotingVersion={version-to-reference}
-
Commit your changes to git
$ git add docs/api $ git commit # enter commit message $ git push
-
Submit a GitHub pull request (see CONTRIBUTING.md).