Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build an Interactive Story App (Retired) User Input Introducing ImageViews

Joshua Schoen
Joshua Schoen
900 Points

There are no virtual devices in my verison of AS. Is it the verison? Or am I doing something wrong.

The build gradle number is 20 not 21. So possibly have a lower verison. Don't see how that interacts with the Virtual devices.

android { compileSdkVersion 20 buildToolsVersion "20.0.0"

defaultConfig {
    applicationId "ballislife.com.interactivestory"
    minSdkVersion 14
    targetSdkVersion 20
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        runProguard false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) } Also guys, I don't know how to attach or import images. So, sorry people, this is the best I have.

1 Answer

Jeremiah Shore
Jeremiah Shore
31,168 Points

You will have to create the virtual devices with the AVD Manager (icon looks like: little phone, purple screen, droid head). To create a virtual device you need to make sure you have the version of the Android SDK that you want installed via the Android SDK Manager (icon looks like: blue box, down arrow, droid head). Once you have the version of SDK installed that you want go to the AVD Manager and create a new device with the "Create..." button.

Here is a reference: https://developer.android.com/tools/devices/managing-avds.html