Skip to content Skip to sidebar Skip to footer

Unable To Deploy Basic Android App

I just started trying to develop a simple hello world android app. Since I am using an AMD processor the default emulator that comes with Android Studio isn't working so I have set

Solution 1:

You may :

Update your IDE to latest one (such as Android studio 1.0.1)

Change your build.gradle to something like this:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 17
    buildToolsVersion "21.1.1"

    defaultConfig {
        applicationId "com.example.hellomap"
        minSdkVersion 14
        targetSdkVersion 21
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

dependencies {
    compile 'com.android.support:support-v4:21.0.0'
    compile 'com.google.android.gms:play-services:6.5.+'
    compile 'com.jakewharton:butterknife:6.0.0'
}

Make sure you have latest buildToolsVersion such that 21.1.1


Post a Comment for "Unable To Deploy Basic Android App"