|
@@ -1,4 +1,4 @@
|
|
|
-These instructions will help you to set up your development environment, get the source code of the ownCloud for Android app and build it by yourself. If you want to help developing the app take a look to the [contribution guidelines][0].
|
|
|
+These instructions will help you to set up your development environment, get the source code of the Nextcloud for Android app and build it by yourself. If you want to help developing the app take a look to the [contribution guidelines][0].
|
|
|
|
|
|
Sections 1) and 2) are common for any environment. The rest of the sections describe how to set up a project in different tool environments. Nowadays we recommend to use Android Studio (section 2), but you can also build the app from the command line (section 3).
|
|
|
|
|
@@ -9,33 +9,33 @@ If you have any problem, remove the 'android' folder, start again from 1) and wo
|
|
|
|
|
|
There are some tools needed, no matter what is your specific IDE or build tool of preference.
|
|
|
|
|
|
-[git][1] is used to access to the different versions of the ownCloud's source code. Download and install the version appropriate for your operating system from [here][2]. Add the full path to the 'bin/' directory from your git installation into the PATH variable of your environment so that it can be used from any location.
|
|
|
+[git][1] is used to access to the different versions of the Nextcloud's source code. Download and install the version appropriate for your operating system from [here][2]. Add the full path to the 'bin/' directory from your git installation into the PATH variable of your environment so that it can be used from any location.
|
|
|
|
|
|
The [Android SDK][3] is necessary to build the app. There are different options to install it in your system, depending of the IDE you decide to use. Check Google documentation about [installation][4] for more details on these options. After installing it, add the full path to the directories 'tools/' and 'platform-tools/' from your Android SDK installation into the PATH variable of your environment.
|
|
|
|
|
|
-Open a terminal and type 'android' to start the Android SDK Manager. To build the ownCloud for Android app you will need to install at least the next SDK packages:
|
|
|
+Open a terminal and type 'android' to start the Android SDK Manager. To build the Nextcloud for Android app you will need to install at least the next SDK packages:
|
|
|
|
|
|
* 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 23 or later should work fine; avoid preview versions, if any available.
|
|
|
-* Android 6.0 (API 23), SDK Platform; needed to build the owncloud app.
|
|
|
+* Android 6.0 (API 23), SDK Platform; needed to build the nextcloud app.
|
|
|
|
|
|
Install any other package you consider interesting, such as emulators.
|
|
|
|
|
|
For other software dependencies check the details in the section corresponding to your preferred IDE or build system.
|
|
|
|
|
|
|
|
|
-### 1. Fork and download the owncloud/android repository.
|
|
|
+### 1. Fork and download the nextcloud/android repository.
|
|
|
|
|
|
-You will need [git][1] to access to the different versions of the ownCloud's source code. The source code is hosted in Github and may be read by anybody without needing a Github account. You will need a Github account if you want to contribute to the development of the app with your own code.
|
|
|
+You will need [git][1] to access to the different versions of the Nextcloud's source code. The source code is hosted in Github and may be read by anybody without needing a Github account. You will need a Github account if you want to contribute to the development of the app with your own code.
|
|
|
|
|
|
Next steps will assume you have a Github account and that you will get the code from your own fork.
|
|
|
|
|
|
-* In a web browser, go to https://github.com/owncloud/android, and click the 'Fork' button near the top right corner.
|
|
|
+* In a web browser, go to https://github.com/nextcloud/android, and click the 'Fork' button near the top right corner.
|
|
|
* Open a terminal and go on with the next steps in it.
|
|
|
* Clone your forked repository: ```git clone --recursive git@github.com:YOURGITHUBNAME/android.git```.
|
|
|
* Move to the project folder with ```cd android```.
|
|
|
* Pull any changes from your remote branch 'master': ```git pull origin master```
|
|
|
-* Make official ownCloud repo known as upstream: ```git remote add upstream git@github.com:owncloud/android.git```
|
|
|
+* Make official Nextcloud repo known as upstream: ```git remote add upstream git@github.com:nextcloud/android.git```
|
|
|
* Make sure to get the latest changes from official android/master branch: ```git pull upstream master```
|
|
|
|
|
|
At this point you can continue using different tools to build the project. Section 2 and 3 describe the existing alternatives.
|
|
@@ -69,7 +69,7 @@ The first time the Gradle wrapper is called, the correct Gradle version will be
|
|
|
The generated APK file is saved in android/build/outputs/apk as android-debug.apk
|
|
|
|
|
|
|
|
|
-[0]: https://github.com/owncloud/android/blob/master/CONTRIBUTING.md
|
|
|
+[0]: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md
|
|
|
[1]: https://git-scm.com/
|
|
|
[2]: https://git-scm.com/downloads
|
|
|
[3]: https://developer.android.com/sdk/index.html
|
|
@@ -78,5 +78,3 @@ The generated APK file is saved in android/build/outputs/apk as android-debug.ap
|
|
|
[6]: https://developer.android.com/sdk/installing/index.html?pkg=studio
|
|
|
[7]: https://gradle.org/
|
|
|
[8]: https://docs.gradle.org/current/userguide/gradle_wrapper.html
|
|
|
-[9]: https://eclipse.org/
|
|
|
-[10]: http://developer.android.com/sdk/installing/installing-adt.html
|