Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unity Android Game Development by Example Beginner's Guide

You're reading from   Unity Android Game Development by Example Beginner's Guide Absolute beginners to designing games for Android will find this book is their passport to quick results. Lots of handholding and practical exercises using Unity 3D makes learning a breeze.

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781849692014
Length 320 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Thomas James Finnegan Thomas James Finnegan
Author Profile Icon Thomas James Finnegan
Thomas James Finnegan
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Saying Hello to Unity and Android FREE CHAPTER 2. Looking Good – Graphical Interface 3. The Backbone of Any Game – Meshes, Materials, and Animations 4. Setting the Stage – Camera Effects and Lighting 5. Getting Around – Pathfinding and AI 6. Specialties of the Mobile Device – Touch and Tilt 7. Throwing Your Weight Around – Physics and a 2D Camera 8. Special Effects – Sound and Particles 9. Optimization A. Pop Quiz Answers Index

Time for action – installing the Android SDK

In order to actually develop and connect to our devices, we need to have the Android SDK installed. Having it fulfills two primary requirements. First, it makes sure we have the bulk of the latest drivers for recognizing devices. Second, we are able to use the ADB (Android Debug Bridge). ADB is the system used for actually connecting to and interacting with the device. The process of installing the Android SDK is given in the following steps:

  1. The latest version of the Android SDK can be found at http://developer.android.com/sdk/index.html, so open a web browser and go to the given site.
  2. Once there, scroll to the bottom and select USE AN EXISTING IDE.
  3. Follow that up by clicking on the Download the SDK Tools for Windows button.
    Time for action – installing the Android SDK
  4. You will then be sent to a Terms and Conditions agreement. Read it if you prefer, but agree to it to continue and hit the download button to start downloading the installer.
  5. Once it has finished downloading, start it up.
  6. Hit the first Next button and the installer will try to find an appropriate version of the JDK. You will come to a page complaining about it, if you do not have it installed.
  7. If you skipped ahead and do not have the JDK installed, hit the Visit java.oracle.com button in the middle of the page and go back to the previous section for guidance on installing it. If you do have it, continue with the process.
  8. Hitting Next again will bring us to a page about selecting who to install the SDK for.
  9. Select Install for anyone using this computer, because the default install location is easier to get to for later purposes.
  10. Hit Next twice, followed by Install to install to the default location.
  11. Once it is done, hit Next and Finish to complete the installation of the Android SDK Manager.
  12. If the Android SDK Manager does not start right away, start it up. Either way, give it a moment to initialize. The SDK Manager makes sure that we have the latest drivers, systems, and tools for developing with the Android platform. But first, we have to actually install them.
    Time for action – installing the Android SDK
  13. By default it should select a number of options to install. If not, select the latest Android API, 4.3 (API 18) as of the time of writing this, Android Support Library and Google USB Driver found in Extras. Be absolutely sure that Android SDK Platform-tools is selected. This one will be very important later. It actually includes the tools we need to connect to our device.
  14. Once everything is selected, hit Install packages in the bottom-right corner.
  15. The next screen is another set of license agreements. Every time a component is installed or updated through the SDK Manager, you have to agree to the license terms before it gets installed. Accept all of the licenses and hit Install to start the process.
  16. You can now sit back and relax. It takes a while for the components to be downloaded and installed. Once it is all done, you can close it out. We have completed the process, but you should occasionally come back to it. Periodically checking the SDK Manager for updates will make sure you are using the latest tools and API's.

What just happened?

We installed the Android SDK. Without it, we would be completely unable to do anything with the Android platform. Besides the long wait to download and install components, this was a pretty easy installation.

You have been reading a chapter from
Unity Android Game Development by Example Beginner's Guide
Published in: Dec 2013
Publisher: Packt
ISBN-13: 9781849692014
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image