Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlurTransformation makes image invisible #6

Open
vivekkartha opened this issue Mar 20, 2015 · 5 comments
Open

BlurTransformation makes image invisible #6

vivekkartha opened this issue Mar 20, 2015 · 5 comments

Comments

@vivekkartha
Copy link

Whenever I apply BlurTransformation with 10px or any px value for that matter. The image just becomes invisible. Anyone got a solution for this?

@chrismeats
Copy link

@vivekkartha I had the same issue. Finally figured out that I had to set
renderscriptSupportModeEnabled true
in my build.gradle file under defaultConfig. After that it worked great.

@qky1412
Copy link

qky1412 commented Nov 10, 2015

@chrismeats can u tell me how? 'Cause for me it crash every time and telling me Couldn't load libRSSupportIO.so, but the simulator works fine. pls.

@chrismeats
Copy link

@qky1412 this is what I have for my android config in my build.gradle file. Hope it helps.

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.2"

    defaultConfig {
        applicationId "co.cht.tourzy"
        minSdkVersion 14
        targetSdkVersion 21
        versionCode 2
        versionName "1.1"
        renderscriptSupportModeEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

@qky1412
Copy link

qky1412 commented Nov 11, 2015

@chrismeats it works! Thank you very much. I wonder why we don't need specific renderscriptTargetApi.

@xerex09
Copy link

xerex09 commented Jul 29, 2016

@qky1412 Because we are avoiding using android.support.v8.renderscript.* Renderscript Support Library instead we are using internal/fastblur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants