Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fss:setup [2019/06/11 16:29]
beniamin.dobre created
fss:setup [2019/06/12 15:52] (current)
adriana.draghici [Android]
Line 1: Line 1:
 +====== Environment Setup ======
 +
 ===== General things ===== ===== General things =====
  
 You need a computer :) A lot of things in this course are linked to Linux-ish things, so if you are using Windows, your mileage may vary. It should work by and large, but for anything unexpected you should have a VM installed - either HyperV (if you are using Windows 10) or VirtualBox (https:​%%//​%%www.virtualbox.org/​) You need a computer :) A lot of things in this course are linked to Linux-ish things, so if you are using Windows, your mileage may vary. It should work by and large, but for anything unexpected you should have a VM installed - either HyperV (if you are using Windows 10) or VirtualBox (https:​%%//​%%www.virtualbox.org/​)
  
-===== Java JDK =====+You need an Android phone. Some of the tasks in the sessions can be performed in an emulator, but everything related to Bluetooth communication requires an actual phone. We will provide a few phones for testing, but not enough for everybody.
  
-If you don’t already have this installed, we recommend installing [[https://​docs.aws.amazon.com/​corretto/​latest/​corretto-11-ug/​index.html|Amazon Coretto]] - a free distribution of OpenJDK. Follow the link for documentation and installation instructions+===== Cloud ===== 
 +==== Java JDK ====
  
-===== Java IDE =====+If you don’t already have this installed, we recommend installing [[https://​docs.aws.amazon.com/​corretto/​latest/​corretto-11-ug/​index.html|Amazon Coretto]] - a free distribution of OpenJDK. Follow the link for documentation and installation instructions. 
 + 
 +==== Java IDE ====
  
 To work on Java code more simply, you’ll need a Java IDE. We recommend [[https://​www.jetbrains.com/​idea/​|Intellij Idea (Community Edition)]], which is available in 2 forms. One of them - Intellij Community Edition is open-source,​ Apache 2 licensed, and available on Windows, Linux and Mac To work on Java code more simply, you’ll need a Java IDE. We recommend [[https://​www.jetbrains.com/​idea/​|Intellij Idea (Community Edition)]], which is available in 2 forms. One of them - Intellij Community Edition is open-source,​ Apache 2 licensed, and available on Windows, Linux and Mac
Line 13: Line 18:
 Installation should be straightforward - Select [[https://​www.jetbrains.com/​idea/​download/​|Community Edition]] in the download page and follow the instructions. Installation should be straightforward - Select [[https://​www.jetbrains.com/​idea/​download/​|Community Edition]] in the download page and follow the instructions.
  
-===== Docker ​=====+==== Docker ====
  
 You need Docker to be able to run and build containers. You can find installation instructions here: You need Docker to be able to run and build containers. You can find installation instructions here:
Line 23: Line 28:
     * Installation instructions and packages are available for most Linux distros     * Installation instructions and packages are available for most Linux distros
  
-===== Kubernetes ​=====+==== Kubernetes ====
  
   * You can find instructions for [[https://​kubernetes.io/​docs/​tasks/​tools/​install-minikube/​|installing Minikube]], for Windows, Linux and Mac   * You can find instructions for [[https://​kubernetes.io/​docs/​tasks/​tools/​install-minikube/​|installing Minikube]], for Windows, Linux and Mac
  
-===== gcloud sdk / cli =====+==== gcloud sdk / cli ====
  
 You’ll need this to be able to talk to GCP. You’ll need this to be able to talk to GCP.
Line 34: Line 39:
  
 ===== Android ===== ===== Android =====
 +
 +For writing, installing and debugging Android apps we will use **Android Studio**.
  
 To install Android Studio on your own machine follow the step here: [[https://​developer.android.com/​studio/​install|Install Android Studio]]. To install Android Studio on your own machine follow the step here: [[https://​developer.android.com/​studio/​install|Install Android Studio]].
-  ​* To set Android SDK Path [[https://​www.dev2qa.com/​how-to-set-android-sdk-path-in-windows-and-mac/​|How To Set Android SDK Path In Windows And Mac]]. Setting the PATH on a Linux computer is almost the same as on a Mac, you just edit .bashrc ​+ 
 +We recommend adding into your path the Android SDK and especially the platform-tools. Out of them, you will use the command line tool [[https://​developer.android.com/​studio/​command-line/​adb|ADB]] 
 +  ​* To set Android SDK Path [[https://​www.dev2qa.com/​how-to-set-android-sdk-path-in-windows-and-mac/​|How To Set Android SDK Path In Windows And Mac]] (please note that instead of Settings you may have Preferences). Setting the PATH on a Linux computer is almost the same as on a Mac, you just edit .bashrc ​ 
 + 
 +Using **adb** you can: 
 +  * Connect to your device 
 +  * List the connected devices 
 +  * Transfer files between your computer and your device 
 +  * Install or remove apps 
 +  * Extract logcat logs 
 + 
 +You must also **enable Developer Options** on the phone.  
 +   * Go to Settings, find the Build number.  
 +   * Press on the Build number 7 times 
 +   * You are now a developer! ---> see the Developer Options in the Settings 
 +   * **Developer Options -> enable USB debugging** (without this you cannot install the the app using the IDE or adb) 
 +   * If you rely on the logs for debugging your app, we also recommend increasing the //Logger buffer sizes// to the maximum value. 
 + 
 +Plugins needed in Android studio (go to Preferences -> Plugin): 
 +  * Kotlin 
 +  * Git Integration 
 +  * Idealog 
 +  * Should be added automatically at installation:​ gradle, junit 
 + 
 +===== Source control ===== 
 + 
 +We will use [[https://​git-scm.com/​downloads|git]] repositories hosted on Github. Their link and details will be added in each session. 
 + 
 +Locally, you will need to install git and, preferably, a gui client such as gitk or [[https://​www.sourcetreeapp.com/​|SourceTree]]. 
 + 
 + 
fss/setup.1560259784.txt.gz · Last modified: 2019/06/11 16:29 by beniamin.dobre
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0