Installation Instructions



Similar documents
Installing the Android SDK

Setting up Sudoku example on Android Studio

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8)

CSA Software Listing Table of Contents. Both Windows and Mac platforms are supported.

Android Environment SDK

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

Tutorial on Basic Android Setup

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Lab 0 (Setting up your Development Environment) Week 1

Getting Started with Android Development

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Android Development. 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Eclipse installation, configuration and operation

Basic Android Setup Windows Version

Installing Primavera P6 Professional R8.2

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (MAC OS X)

Installing Eclipse C++ for Windows

1) SETUP ANDROID STUDIO

1. Product Information

Supplement I.B: Installing and Configuring JDK 1.6

Online Backup Client User Manual Linux

How To Backup On Ubuntu (Amd64) With Back In Time (Amd) On Windows Xp) On A Windows Xp (Amd32) On Ubunus On A Ubuntu

Supplement I.B: Installing and Configuring JDK 1.6

JAMF Software Server Installation Guide for Windows. Version 8.6

Android Mobile App Building Tutorial

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Board also Supports MicroBridge

RecoveryVault Express Client User Manual

Generate Android App

Practice Fusion API Client Installation Guide for Windows

Android Development Setup [Revision Date: 02/16/11]

Online Backup Linux Client User Manual

Online Backup Client User Manual

Online Backup Client User Manual

Titanium Mobile: How-To

Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

DraganFly Guardian: API Instillation Instructions

Outlook Plugin. What is MangoApps for Outlook?

Witango Application Server 6. Installation Guide for Windows

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Ulteo Open Virtual Desktop Installation

Android Setup Phase 2

Installing (1.8.7) 9/2/ Installing jgrasp

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

Smartphone Development Tutorial

Microsoft Outlook 2007 to Mozilla Thunderbird and Novell Evolution Conversion Guide

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

Epidefender Studio Installation notice

Download and Installation Instructions. Java JDK Software for Windows

You may have been given a download link on your trial software . Use this link to download the software.

Introduction to Android Development

Android 4.4 App Development Essentials

DOCSVAULT Document Management System for everyone

MetaMorph Microscopy Automation & Image Analysis Software Super-Resolution Module

Install MS Office 365 on your Android mobile device

JAMF Software Server Installation Guide for Linux. Version 8.6

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Setting Up a Windows Virtual Machine for SANS FOR526

Student installation of TinyOS

Online Backup Client User Manual

Introweb Remote Backup Client for Mac OS X User Manual. Version 3.20

Team Foundation Server 2013 Installation Guide

Installing C++ compiler for CSc212 Data Structures

simplify monitoring Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

How to install and use the File Sharing Outlook Plugin

Configuring the BBj Jetty Web Server (rev10.02) for OSAS

HP SoftPaq Download Manager and HP System Software Manager A Powerful Combination

Backups User Guide. for Webroot SecureAnywhere Essentials Webroot SecureAnywhere Complete

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

TANDBERG MANAGEMENT SUITE 10.0

Fahim Uddin 1. Java SDK

Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us

Virtual Workplace Personal Device Client Installation Instructions

Super Pro Net TM Network Key Installation and Operation

Android Environment SDK

Installing Ruby on Windows XP

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Secure Browser Installation Manual

Troubleshooting Guide. 2.2 Click the Tools menu on Windows Explorer 2.3 Click Folder Options. This will open a dialog box:

Code::Blocks Student Manual

KinderGate Parental Control User Guide

Java Language Tools COPYRIGHTED MATERIAL. Part 1. In this part...

Imprint. ecodms Version: (krusty) Manual Build Number: 20 Language: Copyright 2016: ecodms GmbH Salierallee 18a Aachen Germany

AzMERIT Secure Browser Installation Manual For Technology Coordinators

In the same spirit, our QuickBooks 2008 Software Installation Guide has been completely revised as well.

Installing an open source version of MateCat

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

PUBLIC Password Manager for SAP Single Sign-On Implementation Guide

How to Install Applications (APK Files) on Your Android Phone

Offline Android Installer

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

Transcription:

Installation Instructions Last updated: 18 April 2016

Contents 1. Introduction... 3 2. Windows Installation... 3 2.1. Installing Scripture App Builder... 3 2.2. Installing Java SE Development Kit (JDK)... 4 2.3. Installing Android Software Development Kit (SDK)... 5 3. Linux Installation... 11 3.1. Add SIL repository for Ubuntu... 11 3.2. Installing the software... 11 3.3. Downloading the Android SDK files prior to package installation... 12 3.3.1. Downloading the Android SDK files... 12 3.3.2. Provide zip files during the package install... 12 3.4. Automating Android SDK installation... 12 3.5. Installing without Android SDK... 13 4. How to build your first app... 14 5. Troubleshooting... 14 2

1. Introduction Scripture App Builder does what its name suggests: it helps you to build customized Scripture apps for Android smartphones and tablets. You specify the Scripture files to use, the app name, the fonts, the colours, the about box information, the audio and the icons. Scripture App Builder will package everything together and build the customized app for you. You then install it on your Android device, send it to others by Bluetooth, share it on microsd memory cards and publish it to app stores on the Internet. To install Scripture App Builder on Windows, please follow the instructions in section 2. For Linux, please find the instructions in section 3. 2. Windows Installation In order to run Scripture App Builder on Windows, you need to have 3 components installed on your computer: 1. Scripture App Builder 2. Java SE Development Kit (JDK) 3. Android Software Development Kit (SDK) Here are more details on installing each of these three components. 2.1. Installing Scripture App Builder Run the setup program, Scripture-App-Builder-x.x-Setup.exe, to install Scripture App Builder to your computer. 3

2.2. Installing Java SE Development Kit (JDK) Go to the Java SE Downloads page: http://www.oracle.com/technetwork/java/javase/downloads Click on the Download button under JDK. Click the JDK DOWNLOAD button You will be taken to the Java SE Development Kit 8 Downloads page. There are many download files on this page. You are looking for the download that corresponds to your computer s operating system type. Find the Windows x86 download if you are using 32-bit Windows. Find the Windows x64 download if you are using 64-bit Windows. You ll need to click Accept License Agreement before you download. Windows 32-bit download Windows 64-bit download 4

When the file has downloaded, run it to install the JDK on your computer. This will normally be installed into the C:\Program Files\Java folder. 2.3. Installing Android Software Development Kit (SDK) To install the Android SDK, you need the basic SDK command line tools rather than the full Android Studio installation. The installation will be done in two steps: A. Download and install the basic SDK command line tools. B. Download and install additional packages in the SDK Manager. Tip: If someone else in your team has already downloaded the SDK command line tools and the additional packages, you could take a copy of all their SDK folders rather than downloading them yourself. This would be especially useful in a training workshop where several people need to install the SDK but have limited internet bandwidth. A. Download and install the base SDK tools Do the following: 1. Go to the Android SDK web page: http://developer.android.com/sdk 2. Scroll down to the bottom of the web page until you see the sub-heading, Get just the command line tools. 3. Download the latest Windows installer exe, e.g. installer_r24.4.1-windows.exe. The file size is around 144 MB. 5

4. Before downloading, you will need to click a checkbox to confirm you agree with the Terms and Conditions. 5. When the file has downloaded, double-click the exe to begin the installation. Follow the instructions in the setup wizard to install the SDK to a folder on your computer. As part of this process, the wizard will check that the JDK has been installed. Important: Do not install the Android SDK to a sub-folder of the Program Files folder, otherwise you will have trouble updating the SDK components there. A good place to install it would be c:\sdk. 6. On the final page of the setup wizard, ensure that Start SDK Manager has been selected. Click Finish to complete the installation. The SDK Manager will be launched. B. Download and install additional SDK packages in the SDK Manager The Android SDK as it stands will not be sufficient to build an app. You need to use the SDK Manager to download 3 additional packages for it, namely: (i) (ii) (iii) Android SDK Platform-tools, Android SDK Build-tools, and Android SDK Platform. 6

Do the following: 1. Ensure you have the SDK Manager program open. If it is not open, go to where you installed the SDK and click on SDK Manager.exe. If SDK Manager does not appear (perhaps a command box appears briefly and then disappears), follow the instructions in the Troubleshooting section at the end of this document. 2. Click the Deselect All link at the bottom of the page. You will not need to download all the packages selected by default. 3. Select the following 3 packages: Android SDK Platform-tools Android SDK Build-tools (the latest version), and Android 5.0.1 (API 21) SDK Platform. (You will need to scroll down the screen to find this item if more recent and preview versions, such as Android 6.0, API 23, are displayed first.) 7

4. Click Install 3 packages 5. Before downloading, you will need to click to confirm you accept the licence. 8

6. When this process is complete, you will get a confirmation message Done loading packages. 7. Click Close and the SDK Manager should look like this: 9

8. Ensure that the 4 packages highlighted above have been installed. The Android SDK has now been installed for use by Scripture App Builder. 10

3. Linux Installation In order to run Scripture App Builder on Linux, you need to have 3 components installed on your computer: 1. Scripture App Builder 2. OpenJDK Development Kit (JDK) 3. Android Software Development Kit (SDK) Packages are built for Ubuntu-based distributions (including Wasta-Linux) and are available in the SIL repository for Ubuntu. 3.1. Add SIL repository for Ubuntu In order to install packages from the SIL repository for Ubuntu, the repository must be added to the APT sources. Wasta-Linux already includes configuration for the SIL repository for Ubuntu and so you can move directly to section 3.2. If you are using another Ubuntu-based distribution, please follow the instructions below (or in the online document: Setting up Repositories to download SIL Software). 1. Open a Terminal window. 2. Open the file /etc/apt/sources.list in a text editor: $ sudo gedit /etc/apt/sources.list 3. Add the following two lines to the bottom of the file: deb http://packages.sil.org/ubuntu trusty main deb http://packages.sil.org/ubuntu trusty-experimental main 4. Save the edits to the file. 5. Back in the terminal window, add the repository security key : $ wget http://packages.sil.org/sil.gpg -O- sudo apt-key add - 3.2. Installing the software To install all the required software from the command line, type: $ sudo apt-get update $ sudo apt-get install scripture-app-builder 11

OpenJDK and Android SDK are installed automatically. You will be prompted to accept the licensing agreement for the Android SDK before it installs. When this prompt is displayed, hit TAB to switch between the possible responses and ENTER to accept the response. 3.3. Downloading the Android SDK files prior to package installation The android-sdk-installer package simplifies downloading and installing the Android SDK. Its default behaviour is to download the appropriate files from Google s Android software repository during the install. If this would be a problem due to bandwidth usage during the install, the files can be downloaded prior to installation. 3.3.1. Downloading the Android SDK files On a computer connected to the internet, use the following command line instructions to create a new folder and download 4 zip files (approximately 400MB). $ mkdir -p ~/Downloads/android-sdk-zips $ cd ~/Downloads/android-sdk-zips $ wget -ci http://bit.ly/android-sdk-urls Note: the -c option will allow the downloads to be resumed if it fails part way through the download. 3.3.2. Provide zip files during the package install Use debconf to pre-seed the package with the location of the files and install the package. $ echo android-sdk-installer android-sdk-installer/dldir string ~/Downloads/androidsdk-zips sudo debconf-set-selections $ sudo apt-get install android-sdk-installer $ echo android-sdk-installer android-sdk-installer/dldir string sudo debconf-setselections 3.4. Automating Android SDK installation The android-sdk-installer will prompt you to accept the license for the Android SDK. To automate the installation (e.g. in an Ansible playbook), pre-seed the answer to this question. $ echo android-sdk-installer android-sdk-installer/accepted-android-sdk-eula boolean true sudo debconf-set-selections $ sudo apt-get install android-sdk-installer 12

3.5. Installing without Android SDK The android-sdk-installer package is a recommended package for the scripture-appbuilder package. If the Android SDK is already installed, Scripture App Builder can use the current installation. $ sudo apt-get update $ sudo apt-get install scripture-app-builder --no-install-recommends Set the ANDROID_HOME environment variable to the path of the Android SDK installation to allow Scripture App Builder to find it automatically. Otherwise you can use the Tools Settings dialog in Scripture App Builder to specify the path. 13

4. How to build your first app To build your first app with Scripture App Builder, follow the instructions in the first chapter of the document Scripture App Builder 2 Building Apps. 5. Troubleshooting a. When I try to launch Scripture App Builder, I get the message Could not find the main class Program will exit. This might be because your computer is running an older version of the Java Runtime Environment (JRE). Scripture App Builder requires at least Java 7. Java 6 and earlier versions are no longer being supported, so it is a good idea to upgrade your Java installation for security reasons. You can find the download here: https://www.java.com/en/download/ b. SDK Manager is not loading. It is not uncommon to have problems launching SDK Manager. This is normally due to path problems. SDK Manager cannot find the Java paths it needs to run. Here are some of the things you can try: Launch using android.bat Try launching by double-clicking android.bat in the sdk\tools folder. or Add C:\windows\system32 to your system path. To do this, open Control Panel, go to System Advanced system settings Advanced Environment Variables, and find PATH in System variables. 14

Edit the PATH, adding the following entry at the beginning: %SystemRoot%\system32; After confirming these changes, try launching SDK Manager again with android.bat from the sdk\tools folder. If it doesn t work: Try some of the advice given by people on the following web pages: http://stackoverflow.com/questions/5199811/android-sdk-manager-wont-open?rq=1 http://stackoverflow.com/questions/14504325/cant-get-android-sdk-manager-to-open?lq=1 15