updated dev guide

This commit is contained in:
Andy Scherzinger 2016-04-29 14:54:33 +02:00
parent 3a7ca1ce9a
commit 79bd01535c

View file

@ -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: To set up the project in Android Studio follow the next steps:
* Complete the setup of project properties running: * Complete the setup of project properties running:
- Windows: ```setup_env.bat gradle``` - Windows: ```setup_env.bat```
- Mac OS/Linux: ```./setup_env.sh gradle``` - 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. * 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. * 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. * Open a terminal and go to the 'android' directory that contains the repository.
* Complete the setup of project properties running: * Complete the setup of project properties running:
- Windows: ```setup_env.bat gradle``` - Windows: ```setup_env.bat```
- Mac OS/Linux: ```./setup_env.sh gradle``` - Mac OS/Linux: ```./setup_env.sh```
* Run the 'clean' and 'build' tasks using the Gradle wrapper provided * Run the 'clean' and 'build' tasks using the Gradle wrapper provided
- Windows: ```gradlew.bat clean build``` - Windows: ```gradlew.bat clean build```
- Mac OS/Linux: ```./gradlew clean build``` - Mac OS/Linux: ```./gradlew clean build```