BottomBar icon indicating copy to clipboard operation
BottomBar copied to clipboard

WHAT SHOULD I DO IF STUCK ON gradle resolving dependencies :CLASSPATH" ?

Open burkaslarry opened this issue 7 years ago • 5 comments

Uploading Screen Shot 2017-07-03 at 5.03.35 PM.png… Uploading Screen Shot 2017-07-03 at 5.03.47 PM.png…

burkaslarry avatar Jul 03 '17 09:07 burkaslarry

No screen shot attached. Add build.gradle code here

talhahasanzia avatar Jul 03 '17 11:07 talhahasanzia

apply plugin: 'com.android.application'

android { compileSdkVersion 25 buildToolsVersion "25.0.3" defaultConfig { applicationId "com.test.bottomtabtest" minSdkVersion 18 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:design:25.3.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.roughike:bottom-bar:2.3.1'

testCompile 'junit:junit:4.12'

}

burkaslarry avatar Jul 05 '17 06:07 burkaslarry

screen shot 2017-07-05 at 2 17 43 pm

burkaslarry avatar Jul 05 '17 06:07 burkaslarry

The gradle is code is stated below :


apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion "25.0.3"
    defaultConfig {
        applicationId "com.example.lar.test"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:26.+'
    compile 'com.roughike:bottom-bar:2.3.1'

    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    testCompile 'junit:junit:4.12'
}

burkaslarry avatar Jul 07 '17 01:07 burkaslarry

Try adding compile 'com.android.support:design:25.3.1', it worked for me

metal32 avatar Aug 21 '17 09:08 metal32