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

Genymotion - Android Studio Errors

  • Set up Android Studio with Genymotion for the first time
  • Started up a Genymotion virtual machine
  • When I go to run an app, I am presented with the "Choose a running virtual device" dialogue box, in that dialogue box, it indicates that the virtual device is running, but is not compatible
  • If I try to move forward with running the app, I get this error: Failure [INSTALL_FAILED_OLDER_SDK]

Any idea why this error is happening? Thanks in advance,

Rod

1 Answer

Hello All, I was able to resolve this issue through try / error and Google. The fix required a changes to these settings within the build.gradle file: compileSdkVersion 19 buildToolsVersion "19.1.0" targetSdkVersion 19

The Genymotion virtual device was set to run at sdk version 19.

Rod

Full Excerpt from the build.gradle file: android { compileSdkVersion 19 buildToolsVersion "19.1.0"

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