Android SDK under Linux

Similar documents
Android Studio Setup Procedure

How To Install Java Manually Linux Ubuntu Bit

Installation of the PLCnext Technology SDK and Eclipse

Parallel Programming

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Installing Eclipse (C++/Java)

Developing Android applications in Windows

SD Module- Android Programming

Tutorial on Basic Android Setup

How to Set up Eclipse and Android SDK Manager Environment You need to download the following

HOW TO DEVELOP FOR GLASS ENTERPRISE

Installation Instructions

Installation Instructions

JPA - INSTALLATION. Java version "1.7.0_60" Java TM SE Run Time Environment build b19

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

Getting Started with Eclipse/Java

SpringSource Tool Suite 2.3.2

SD Module-1 Android Dvelopment

If you don t have the JDK, you will need to install it. 1. Go to

INFO Object-Oriented Programming

RTMS - Software Setup

Metasploit. Installation Guide Release 4.4

Getting Arduino / XLR8 Setup On Linux

WA1958 Mobile Software Design Patterns and Architecture Android Edition. Classroom Setup Guide. Web Age Solutions Inc.

SpringSource Tool Suite M1

Software Installation Guide 2.4

Oracle SOA Suite/BPM Suite VirtualBox Appliance. Introduction and Readme

Installing and configuring an Android device emulator. EntwicklerCamp 2012

11/8/17 GETTING STARTED

XLink Kai Raspberry Pi Beginners Tutorial

User Guide Yocto Linux. Board Support Package For Intel Quark

Choose OS and click on it

Compiere 3.2 Installation Instructions Linux System - EnterpriseDB

Installation guide for Java. Step by Step Guide. A C A D G I L D Page 1

MAPLE 2017 STEP BY STEP INSTALLATION INSTRUCTIONS

RF-Seismograph running on Raspberry Pi and Touch Screen

How To Install Java On Linux Ubuntu >>>CLICK HERE<<<

Zephyr Kernel Installation & Setup Manual

Contain your Desktop Applications with Flatpak

Intel Do-It-Yourself Challenge Robotics Hello World

Eclipse Environment Setup

Oracle WebLogic Server (WLS) 11gR1 ( and ) Installation on Oracle Linux 5 and 6

IOL INTACT Installation Guide

Android Development Tools = Eclipse + ADT + SDK

Initial setting up of VPN Java version.

Manually Java 7 Update Bit Windows

Android Sdk Install Documentation Eclipse. Ubuntu >>>CLICK HERE<<<

Thermo-Calc Installation Guides. Version 2016b

Lab 6: OS Security for the Internet of Things

Quick Deployment Step-by-step instructions to deploy Oracle Big Data Lite Virtual Machine

Dus, guidus, mkusb version 12

Getting Started with Appium

CSCI 201 Lab 1 Environment Setup

Red Hat Development Suite 2.1

The Python Mini-Degree Development Environment Guide

Project 1 Setup. Some relevant details are the output of: 1. uname -a 2. cat /etc/*release 3. whereis java 4. java -version 5.

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

Installation and Upgrade Guide Zend Studio 7.0

This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time.

SpringSource Tool Suite 2.7.0

TrinityCore Documentation

Revise Quick Start Guide

Module 3: Installing Eclipse

Tutorial for virtual machine creation and installation of Linux C4Sys iso file in Windows.

Red Hat Development Suite 2.2

CloudView NMS Agent User Guide. /multi-platform version/

User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

Display Modules (DL-DM) Application Developer's Guide

OpenL Tablets OpenL Tablets BRMS

S D K Q U I C K S T A R T

WA1845 EJB 3.0 Programming with WebLogic Server 11g. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Application Development Setup Guide

CS197U: A Hands on Introduction to Unix

DEVELOPMENT GUIDE VAB-630. Android BSP v

Alborz 1.0 Installation Guide

CS 170 Java Tools. Step 1: Got Java?

IT-G400 Series. Android 6.0 Quick Start Guide. This document is a Development Guide Book for IT-G400 application developers. Ver 1.

12.1 Introduction OpenCV4Android SDK Getting the SDK

Thermo-Calc Installation Guides. Version 2016a

Android Sdk Setup For Windows 7 32 Bit Full Version

Installing Alfresco components one by one. Angel Borroy

Preparation of a Cluster Node with Ubuntu

Oracle WebCenter Portal Jump Start Kit (JSK) Readme for Linux 64-bit Operating Systems

Virtual Machines. Module 2

Content. 1. Overview Setup Demonstration Linux Application Project on DE10-Nano Android Application Project...

Installing Archivematica v0.7 On A Custom-Sized Xubuntu v Virtual Machine Hosted in VirtualBox v4.0.4

Manually Java 7 Update Bit Windows 8

Dynodroid: An Input Generation System for Android Apps. Aravind Machiry

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

Setting up Docker Datacenter on VMware Fusion

Android Sdk Tutorial For Windows 7 64 Bit Full Version

Guide to Install J Meter

Installation Guide. Flowbox version Installation Guide version 4. Requirements 2. Single / client installation 2 Windows 2 Linux 8 MacOS 11

xpress Release Notes

Aware IM Version 8.1 Installation Guide

PRPC Personal Edition Installation Guide 6.3 SP1

WA1884 Introduction to Java. using Oracle JDeveloper 11g. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Atollic TrueSTUDIO for ARM. Installation Guide Quick Start Guide

Transcription:

Android SDK under Linux Jean-Francois Messier Android Outaouais jf@messier.ca Abstract This is a tutorial about installing the various components required to have an actual Android development station under Linux. The commands are simple ones and are written to be as independent as possible of your flavour of Linux. All commands and other scripts are in a set of files that will be available on-line. Some processes that would usually require user attendance have been scripted to run unattended and are pre-downloaded. The entire set of files (a couple of gigs) can be copied after the tutorial for those with a portable USB key or hard disk. 145

146 Android SDK under Linux Android SDK under Linux Introduction Agenda Hardware and software components Installation Process Introduction My background My use of Android devices Quick on the slideshow Then, the demo All files are available online: http://1529.ca/android Questions are welcome

2012 Linux Symposium 147 We need some hardware Lots of RAM and disk space Fast processor(s). Multiple monitor is helpful IDE and virtual device together Real Android device is a good idea! The components Some compatibility libraries maybe! Everything is Java Eclipse is your friend Android SDK and Eclipse Integration Those virtual devices

148 Android SDK under Linux 32-bit compatibility libraries sudo apt-get install ia32-libs or (maybe) yum install glibc.i686 Everything is Java The tools for Android development are using Java The applications use another JVM for Android. Should be Oracle Java Development Kit (JDK) Get it from http://www.oracle.com/technetwork/java/javase/downloads

2012 Linux Symposium 149 Java (continued) My quick script (3 + 2 lines): tar zxf jdk 7u2 linux x64.tar.gz sudo mv./jdk1.7.0_02 /opt sudo ln s /opt/jdk1.7.0_02/bin/java /usr/bin/java which java java version Eclipse is your friend In my installations, Eclipse is the main tool to edit and manage the source files. It has the integration for the Android libraries and tools. I use Eclipse Classic Get it here: http://www.eclipse.org/downloads/? ostype=linux

150 Android SDK under Linux My script for Eclipse Download the version you need, then: tar zxf eclipse SDK XXX linux gtk.tar.gz sudo mv./eclipse /opt sudo ln s /opt/eclipse/eclipse /usr/bin/eclipse which eclipse Try to start from the command line or otherwise Create the shortcut as you see fit (ubuntu) sudo apt get y install gnome panel (ubuntu) gnome desktop item edit ~/Desktop create new Setup the Android SDK Get the file, unzip and move it: The script: wget http://dl.google.com/android/androidsdk_r20-linux.tgz tar -zxf android-sdk_r20-linux.tgz sudo mv android-sdk-linux/ /opt

2012 Linux Symposium 151 Eclipse vs Android Now, we have to setup Eclipse so that it knows Android Help Install New Software. Click Add... Enter a name and enter the URL: http://dl.google.com/android/eclipse Click OK (wait) Select All Next (x2) Accept all licenses Click Finish (wait) OK on the Security Warning Restart Eclipse Eclipse vs Android (2) Upon restart, Eclipse will configure the SDK. Select Use existing SDKs, enter the target location: /opt/android-sdk-linux Click Next, Opt in or out of stats, Click Finish Click Open SDK Manager to Acknowledge the warning to open the Android SDK Manager

152 Android SDK under Linux Eclipse vs Android (3) Here, we select the platform(s) where our apps will work. Select the platform(s), the tools and the extras. The more platforms you select, the longer it takes! Only select those you need. Accept all licenses, etc... Then, we have to run: sudo chmod -R 777 /opt/android-sdk/tools Offline install There are scripts to download and install the files directly, instead of downloading through the SDK. The whole set of files is over 2GB. The ZIPs are to be unzipped in different directories, based on their names. Scripts are available at my web site

2012 Linux Symposium 153 Let's get virtual! Next, we create a Virtual Machine. It will run the Android environment for the app we will develop. Click Window AVD Manager New... Give it a name, and select a target. Target depends on installation we just did. You can also specify options such as: SD Card, Snapshots, Skin, etc Click Create AVD Hello World! Small test program Test it on the VM Transfer and Test on a real Android Device

154 Android SDK under Linux Questions? Contact info Jean-Francois Messier jf@messier.ca http://www.android-outaouais.com http://www.1529.ca/android