mirror of
https://github.com/nextcloud/android.git
synced 2024-11-21 20:55:31 +03:00
updated dev guide
This commit is contained in:
parent
3a7ca1ce9a
commit
79bd01535c
1 changed files with 4 additions and 4 deletions
8
SETUP.md
8
SETUP.md
|
@ -51,8 +51,8 @@ We recommend to use the last version available in the stable channel of Android
|
|||
To set up the project in Android Studio follow the next steps:
|
||||
|
||||
* Complete the setup of project properties running:
|
||||
- Windows: ```setup_env.bat gradle```
|
||||
- Mac OS/Linux: ```./setup_env.sh gradle```
|
||||
- Windows: ```setup_env.bat```
|
||||
- Mac OS/Linux: ```./setup_env.sh```
|
||||
* Open Android Studio and select 'Import Project (Eclipse ADT, Gradle, etc)'. Browse through your file system to the folder 'android' where the project is located. Android Studio will then create the '.iml' files it needs. If you ever close the project but the files are still there, you just select 'Open Project...'. The file chooser will show an Android face as the folder icon, which you can select to reopen the project.
|
||||
* Android Studio will try to build the project directly after importing it. To build it manually, follow the menu path 'Build'/'Make Project', or just click the 'Play' button in the tool bar to build and run it in a mobile device or an emulator. The resulting APK file will be saved in the 'build/outputs/apk/' subdirectory in the project folder.
|
||||
|
||||
|
@ -63,8 +63,8 @@ To set up the project in Android Studio follow the next steps:
|
|||
|
||||
* Open a terminal and go to the 'android' directory that contains the repository.
|
||||
* Complete the setup of project properties running:
|
||||
- Windows: ```setup_env.bat gradle```
|
||||
- Mac OS/Linux: ```./setup_env.sh gradle```
|
||||
- Windows: ```setup_env.bat```
|
||||
- Mac OS/Linux: ```./setup_env.sh```
|
||||
* Run the 'clean' and 'build' tasks using the Gradle wrapper provided
|
||||
- Windows: ```gradlew.bat clean build```
|
||||
- Mac OS/Linux: ```./gradlew clean build```
|
||||
|
|
Loading…
Reference in a new issue