Skip to content Skip to sidebar Skip to footer

Android.renderscript.renderscriptgl Issue

I've been trying to create a live wallpaper on android. I'm using the tutorial mentioned below. http://mobile.tutsplus.com/tutorials/android/getting-started-with-renderscript-on-an

Solution 1:

You cannot use the RenderScript graphics APIs with the support library. You can only use the compute functions.

Solution 2:

Those imports won't resolve because all those classes are deprecated.

Solution 3:

renderscript-v8.jar you can find by sdk\build-tools\21.1.2\renderscript\lib

dependencies {
    compile files("libs/renderscript-v8.jar")
}

but if you want use RenderScriptGL you should compileSdkVersion -> 11~13

android { compileSdkVersion 13 buildToolsVersion "25.0.2"

defaultConfig {
    applicationId "com.carapk.noisefield"
    minSdkVersion 13
    targetSdkVersion 25
    versionCode 1
    versionName "1.0"
    renderscriptTargetApi 19
    renderscriptSupportModeEnabled false
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

Post a Comment for "Android.renderscript.renderscriptgl Issue"