mirror of https://github.com/nextcloud/android
add v23 infos for the build processes
This commit is contained in:
parent
d8e967e913
commit
340836d36f
15
SETUP.md
15
SETUP.md
|
@ -19,7 +19,8 @@ Open a terminal and type 'android' to start the Android SDK Manager. To build th
|
|||
* Android SDK Tools and Android SDK Platform-tools (already installed); upgrade to their last versions is usually a good idea.
|
||||
* Android SDK Build-Tools; any version from 20 or later should work fine; avoid preview versions, if any available.
|
||||
* Android 4.4.2 (API 19), SDK Platform; needed for build/test ownCloud app.
|
||||
* Android 5.1.1 (API 22), SDK Platform; needed to build the Android Support Library (not neeeded if working with Android Studio or gradle) and build the owncloud app.
|
||||
* Android 5.1.1 (API 22), SDK Platform; needed to build FAB Library (not neeeded if working with Android Studio and gradle) and build the owncloud app.
|
||||
* Android 6.0 (API 23), SDK Platform; needed to build the Android Support Library (not neeeded if working with Android Studio or gradle) and build the owncloud app.
|
||||
|
||||
Install any other package you consider interesting, such as emulators.
|
||||
|
||||
|
@ -90,6 +91,7 @@ The generated APK file is saved in android/build/outputs/apk as android-debug.ap
|
|||
* Choose the projects with the next names under the 'New Project Name' column:
|
||||
** owncloud-android
|
||||
** android-support-appcompat-v7-exploded-aar
|
||||
** android-support-design-exploded-aar
|
||||
** owncloud-android-workaround-accounts (optional)
|
||||
** ownCloud Android Library
|
||||
** ownCloud Sample Client (optional)
|
||||
|
@ -102,11 +104,17 @@ The generated APK file is saved in android/build/outputs/apk as android-debug.ap
|
|||
* If any error persists, clean and build manually the next projects in order:
|
||||
** ownCloud Android Library
|
||||
** android-support-appcompat-v7-exploded-aar
|
||||
** android-support-design-exploded-aar
|
||||
** owncloud-android
|
||||
* If any error on those projects persists, check the project properties. In the 'Android' section, API Level should be
|
||||
** ownCloud Android Library -> API level 19
|
||||
** android-support-appcompat-v7-exploded-aa -> API level 22
|
||||
** owncloud-android -> API level 22 ; in this project, two library projects should appear referred in the bottom of the dialog: libs\android-support-appcompat-v7-exploded-aar and owncloud-android-library. Add them if needed.
|
||||
** android-support-appcompat-v7-exploded-aa -> API level 23
|
||||
** android-support-design-exploded-aa -> API level 23
|
||||
** owncloud-android -> API level 23 ; in this project, three library projects should appear referred in the bottom of the dialog:
|
||||
*** libs\android-support-appcompat-v7-exploded-aar,
|
||||
*** libs\android-support-design-exploded-aar,
|
||||
*** owncloud-android-library.
|
||||
*** Add them if needed.
|
||||
* After those actions you should be good to go. HAVE FUN!
|
||||
|
||||
|
||||
|
@ -140,6 +148,7 @@ Download/install Android plugin for Maven, then build ownCloud with mvn:
|
|||
* git clone https://github.com/mosabua/maven-android-sdk-deployer.git
|
||||
* cd maven-android-sdk-deployer
|
||||
* mvn -pl com.simpligility.android.sdk-deployer:android-22 -am install
|
||||
* mvn -pl com.simpligility.android.sdk-deployer:android-23 -am install
|
||||
* cd ../android/owncloud-android-library
|
||||
* mvn install
|
||||
* cd ..
|
||||
|
|
Loading…
Reference in New Issue