This is an old revision of the document!


Environment Setup

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/)

Cloud

Java JDK

If you don’t already have this installed, we recommend installing 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 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

Installation should be straightforward - Select Community Edition in the download page and follow the instructions.

Docker

You need Docker to be able to run and build containers. You can find installation instructions here:

    • This is the recommended approach, because it relies on Hyper-V , a virtualization technology available in Windows 10
    • For older Windows systems, you can use Docker toolbox - which will run the Docker daemon inside a VirtualBox VM
    • Installation instructions and packages are available for most Linux distros

Kubernetes

gcloud sdk / cli

You’ll need this to be able to talk to GCP.

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: Install Android Studio.

We recommend adding into your path the Android SDK and especially the platform-tools. Out of them, you will use the command line tool ADB * to set Android SDK Path 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.
fss/setup.1560341202.txt.gz · Last modified: 2019/06/12 15:06 by adriana.draghici
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