Commit cc3e9377 authored by lisaslyis's avatar lisaslyis

Update README.md for new dependencies

New dependencies and pre-installation steps are updated.
parent 47464e02
...@@ -18,11 +18,31 @@ building it. ...@@ -18,11 +18,31 @@ building it.
Dependencies: Dependencies:
* Android SDK (https://developer.android.com/sdk/index.html) * Android SDK (https://developer.android.com/sdk/index.html)
* Android 4.2.2 SDK Platform (download using the `android` command included in the Android SDK) * Android 4.2.2 SDK Platform (download using the `android` command included in the Android SDK)
* Google Play Service library (http://developer.android.com/google/play-services/setup.html)
* JDK 6 (for the Android SDK) * JDK 6 (for the Android SDK)
* Apache Ant (for the Android SDK) * Apache Ant (for the Android SDK)
* Gradle (to build aikuma-cloud-storage.jar)
Pre-installation steps:
* Change the reference to Google Play Service library (http://developer.android.com/google/play-services/setup.html)
1. Download Google Play Services from Android SDK Manager.
2. Copy the library-folder($ANDROID_HOME/extras/google/google_play_services/libproject/google-play-services_lib) to the location you want.
2. Check the ID of Android_4.2.2_API. This can be checked using `android list target`.
3. type in `android update project --target <target_ID> --path <path_to_Aikuma_folder> --library <path_to_the_copied_google_play_services_library>`
* Build and move aikuma-cloud-storage library
1. Install Gradle
2. checkout the cloud-storage branch. `git checkout cloud-storage`
3. Build the cloud-storage library. `cd AikumaCloudStorage`, `gradle publishToMavenLocal`
4. Copy the cloud-storage library(~/.m2/repository/org/lp20/aikuma-cloud-storage/0.4.0/aikuma-cloud-storage-0.x.0.jar) to the location you want.
5. checkout the Aikuma mobile app branch.(Latest test version is updated in search-interface branch). `git checkout search-interface`
6. Move the cloud-storage library to the folder(Aikuma/libs)
With the dependencies installed and an Android phone connected to your computer, run: With the dependencies installed and an Android phone connected to your computer, run:
`$ Aikuma/build.sh` `$ Aikuma/build.sh`
Aikuma should now be installed on your phone! Aikuma should now be installed on your phone!
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment