Game Development Reference
In-Depth Information
The
C:
refers to the drive letter that your Android SDK is installed on and may differ according to
where you have stored your SDK and the specific operating system you are using. After executing
the command, the
MainActivity.apk
file should now be on your Android device at
/sdcard/Download
, assuming this directory already exists. (See Figure
12-7
.)
Figure 12-7.
Copying
MainActivity.apk
on an Android device
Before you try to install the
.apk
file, you will have to go to the Settings ➤ Applications section and
check the box under Unknown sources that allows the installation of apps from unknown sources,
if you are using older Android operating system versions such as 2.2. On later versions of the Android
operating system, you will have to look under Settings ➤ Security. (See Figure
12-8
.)