From: Luke Owncloud Date: Wed, 11 Dec 2013 10:50:18 +0000 (+0100) Subject: updated SETUP.md for Eclipse compile X-Git-Tag: oc-android-1.5.5~100^2~10 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/17edcec8673e9cc985b642876b9372f0e2423ff4?ds=inline updated SETUP.md for Eclipse compile --- diff --git a/SETUP.md b/SETUP.md index 64701577..b6538fde 100644 --- a/SETUP.md +++ b/SETUP.md @@ -25,15 +25,15 @@ NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in ### 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: * "cd .." * "git clone https://github.com/mosabua/maven-android-sdk-deployer.git" * "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" -* Now you can create APK using "mvn package" +* Now you can create ownCloud APK using "mvn package" ### 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. * 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. -* 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. * 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. * Import ownCloud Android project. * 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. - 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!