daimajia / AndroidViewHover

An elegant way to show your menu or messages.
3.21k stars 722 forks source link

New way to implement RenderScript in gradle 14+ #10

Open kenticus opened 9 years ago

kenticus commented 9 years ago

With gradle 0.14.+ in android studio you will need to use the two lines below instead of the ones in your getting started document.

renderscriptTargetApi 19 renderscriptSupportModeEnabled true

kenticus commented 9 years ago

http://stackoverflow.com/a/22976675/661074

xzedx commented 9 years ago

Error:(14, 0) Gradle DSL method not found: 'renderscriptSupportMode()'

rajanbhavsar commented 8 years ago

We are unable to make the buil with below build.gradle:

apply plugin: 'com.android.application'

android { compileSdkVersion 23 buildToolsVersion "23.0.2"

defaultConfig {
    applicationId "me.majiajie.pagerbottomtabstriptest"
    minSdkVersion 15
    targetSdkVersion 23
    renderscriptTargetApi 18
    renderscriptSupportMode true
    versionCode 1
    versionName "1.0"
}

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

lintOptions {
    abortOnError false
}

}

allprojects { repositories { maven { url "https://jitpack.io" } } }

dependencies { compile fileTree(dir: 'libs', include: ['_.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.3.0' // compile project(':pager-bottom-tab-strip') compile 'com.android.support:recyclerview-v7:23.1.1' compile 'com.android.support:cardview-v7:23.1.1' /_compile 'com.android.support:design:23.1.1'*/ compile 'com.github.navasmdc:MaterialDesign:1.5@aar' compile project(':pager-bottom-tab-strip') compile('com.mikepenz:aboutlibraries:5.3.4@aar') { transitive = true } compile('com.mikepenz:materialdrawer:4.5.9@aar') { transitive = true } compile 'com.github.chrisbanes:PhotoView:1.2.6' compile 'com.nineoldandroids:library:2.4.+'

//Blur layout
compile 'com.daimajia.easing:library:1.0.0@aar'
compile 'com.daimajia.androidanimations:library:1.1.2@aar'
compile 'com.daimajia.androidviewhover:library:1.0.4@aar'

compile 'com.mikepenz:iconics-core:2.5.1@aar'
compile 'com.mikepenz:google-material-typeface:2.1.0.1.original@aar'
compile 'com.mikepenz:fontawesome-typeface:4.5.0.1@aar'
compile 'com.facebook.rebound:rebound:0.3.8'
compile files('libs/butterknife-6.1.0.jar')
compile files('libs/greendao-1.3.7.jar')
compile files('libs/gson-2.2.2.jar')
compile files('libs/httpmime-4.1.3.jar')
compile files('libs/pinyin4j-2.5.0.jar')
compile files('libs/uil.jar')
compile files('libs/volley.jar')

}