gradle - Trouble adding BottomBar to Android Studio -


i'm trying add bottombar (3rd party lib) android studio project module. error error: (4, 0) cannot property 'compilesdkversion' on properties extension not exist , it's pointing build.gradle file. i'm not sure what's wrong. appreciate help.

bottombar: https://github.com/roughike/bottombar/blob/master/readme.md#common-problems-and-solutions

apply plugin: 'com.android.application'  android { compilesdkversion rootproject.ext.compilesdkversion buildtoolsversion rootproject.ext.buildtoolsversion  defaultconfig {     applicationid "com.example.bottombar.sample"     minsdkversion rootproject.ext.minsdkversion     targetsdkversion rootproject.ext.targetsdkversion     versioncode 1     versionname "1.0" } buildtypes {     release {         minifyenabled false         proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'     } } }  dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile project(':bottom-bar') compile 'com.android.support:appcompat-v7:' + rootproject.ext.supportlibraryversion compile 'com.android.support:design:' + rootproject.ext.supportlibraryversion  testcompile 'junit:junit:' + rootproject.ext.junitversion } 

forget it, figured out. don't need import module, add dependency.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo