Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add library #83

Closed
meet2011 opened this issue Apr 5, 2017 · 2 comments
Closed

Unable to add library #83

meet2011 opened this issue Apr 5, 2017 · 2 comments

Comments

@meet2011
Copy link

meet2011 commented Apr 5, 2017

I tried to add library but it gives error. Have a look at the build gradle

build.gralde(project-level)
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.0'
        classpath 'com.novoda:bintray-release:0.3.4'
    }
}

allprojects {
    repositories {
        jcenter()
        mavenCentral()
    }

}

build.gradle(app level)

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"

    defaultConfig {
        applicationId "xxx.xxxx.xxxxxx"
        minSdkVersion 9
        targetSdkVersion 25
    }

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

dependencies {
    compile 'com.google.android.gms:play-services-ads:8.1.0'
    compile 'com.android.support:support-v4:25.2.0'
    compile 'io.github.kobakei:ratethisapp:x.y.z'
    compile 'com.android.support:appcompat-v7:25.2.0'
}
@kobakei
Copy link
Owner

kobakei commented Apr 5, 2017

@meet2011 Try to replace compile 'io.github.kobakei:ratethisapp:x.y.z' with compile 'io.github.kobakei:ratethisapp:1.1.3'

@meet2011
Copy link
Author

meet2011 commented Apr 5, 2017

@kobakei Thanks, It worked 👍

@meet2011 meet2011 closed this as completed Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants