AndroidViewHover icon indicating copy to clipboard operation
AndroidViewHover copied to clipboard

New way to implement RenderScript in gradle 14+

Open kenticus opened this issue 10 years ago • 3 comments

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 avatar Dec 04 '14 21:12 kenticus

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

kenticus avatar Dec 04 '14 21:12 kenticus

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

xzedx avatar Dec 27 '14 10:12 xzedx

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')

}

rajanbhavsar avatar Jul 04 '16 09:07 rajanbhavsar