laenger / ViewPagerBottomSheet

Use ViewPagers in Bottom Sheets!
Apache License 2.0
465 stars 86 forks source link

Could not get unknown property #2

Closed Rajakrishnanulaganathan closed 8 years ago

Rajakrishnanulaganathan commented 8 years ago

Error:(7, 0) Could not get unknown property 'compileSdkVersion' for root project 'BottomSheetApp' of type org.gradle.api.Project. Open File

Error:(30, 0) Could not get unknown property 'butterknifeVersion' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Open File

laenger commented 8 years ago

it looks like you copied some configuration from the example app but missed the configuration from the root build.gradle which sets a range of properties:

ext {
    ...
    compileSdkVersion = 24
    buildToolsVersion = '24.0.1'
    targetSdkVersion = 24
    supportVersion = '24.2.0'
    butterknifeVersion = '8.2.1'
}

alternatively you don't have to use those properties but can just directly set the values in the app build.gradle