|
@@ -25,15 +25,15 @@ NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in
|
|
|
|
|
|
### 3. Building with console/maven:
|
|
### 3. Building with console/maven:
|
|
|
|
|
|
-NOTE: You must have mvn in your environment path
|
|
|
|
|
|
+NOTE: You must have mvn (version >= 3.1.1) in your environment path. Current Android 'platforms-tools' need to be installed.
|
|
|
|
|
|
* Download/install Android plugin for Maven, then build ownCloud with mvn:
|
|
* Download/install Android plugin for Maven, then build ownCloud with mvn:
|
|
* "cd .."
|
|
* "cd .."
|
|
* "git clone https://github.com/mosabua/maven-android-sdk-deployer.git"
|
|
* "git clone https://github.com/mosabua/maven-android-sdk-deployer.git"
|
|
* "cd maven-android-sdk-deployer"
|
|
* "cd maven-android-sdk-deployer"
|
|
-* "mvn -pl com.simpligility.android.sdk-deployer:android-17 -am install"
|
|
|
|
|
|
+* "mvn -pl com.simpligility.android.sdk-deployer:android-19 -am install"
|
|
* "cd ../android"
|
|
* "cd ../android"
|
|
-* Now you can create APK using "mvn package"
|
|
|
|
|
|
+* Now you can create ownCloud APK using "mvn package"
|
|
|
|
|
|
### 4. Building with Eclipse:
|
|
### 4. Building with Eclipse:
|
|
|
|
|
|
@@ -44,13 +44,13 @@ NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in
|
|
* Clean project and compile.
|
|
* Clean project and compile.
|
|
* If any error appear, check the project properties; in the 'Android' section, API Level should be greater or equal than 14.
|
|
* If any error appear, check the project properties; in the 'Android' section, API Level should be greater or equal than 14.
|
|
* Make sure android/actionbarsherlock/library/bin/library.jar was created.
|
|
* Make sure android/actionbarsherlock/library/bin/library.jar was created.
|
|
-* Create a new "Android Project from Existing Code". Choose android/oc_framework/library as root.
|
|
|
|
|
|
+* Create a new "Android Project from Existing Code". Choose android/oc_framework as root.
|
|
* Clean project and compile.
|
|
* Clean project and compile.
|
|
* If any error appear, check the project properties; in the 'Android' section, API Level should be 19 or greater.
|
|
* If any error appear, check the project properties; in the 'Android' section, API Level should be 19 or greater.
|
|
* Make sure android/oc_framework/bin/classes.jar was created.
|
|
* Make sure android/oc_framework/bin/classes.jar was created.
|
|
* Import ownCloud Android project.
|
|
* Import ownCloud Android project.
|
|
* Clean project and compile.
|
|
* Clean project and compile.
|
|
-* If any error appears, check the project properties; in the 'Android' section:
|
|
|
|
|
|
+* If any error appears, check the project properties of owncloud-android project; in the 'Android' section:
|
|
- API Level should be 19 or greater.
|
|
- API Level should be 19 or greater.
|
|
- Two library projects should appear referred in the bottom square: actionbarsherlock/library and oc_framework. Add them if needed.
|
|
- Two library projects should appear referred in the bottom square: actionbarsherlock/library and oc_framework. Add them if needed.
|
|
* After those actions you should be good to go. HAVE FUN!
|
|
* After those actions you should be good to go. HAVE FUN!
|