wasabeef / picasso-transformations

An Android transformation library providing a variety of image transformations for Picasso
Apache License 2.0
1.69k stars 238 forks source link

BlurTransformation not work for me #13

Closed Rowandjj closed 8 years ago

Rowandjj commented 8 years ago

already add renderscript in build.gradle:

 defaultConfig {
        applicationId "xxx"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        renderscriptSupportModeEnabled true
    }

when i build the project:

    Path in archive: lib/armeabi-v7a/libblasV8.so
Error:duplicate files during packaging of APK /Users/rowandjj/AndroidStudioProjects/PaimaiNews/app/build/outputs/apk/app-debug-unaligned.apk
    Origin 1: /Users/rowandjj/Library/Android/sdk/build-tools/23.0.1/renderscript/lib/packaged/armeabi-v7a/libblasV8.so
    Origin 2: /Users/rowandjj/AndroidStudioProjects/PaimaiNews/app/build/intermediates/exploded-aar/jp.wasabeef/picasso-transformations/1.3.0/jni/armeabi-v7a/libblasV8.so

so i exclude those .so file by packingOptions:

    packagingOptions{
        exclude 'lib/armeabi-v7a/libblasV8.so'
        exclude 'lib/armeabi-v7a/librsjni.so'
        exclude 'lib/armeabi-v7a/libRSSupport.so'
        exclude 'lib/mips/libblasV8.so'
        exclude 'lib/mips/librsjni.so'
        exclude 'lib/mips/libRSSupport.so'
        exclude 'lib/x86/libblasV8.so'
        exclude 'lib/x86/librsjni.so'
        exclude 'lib/x86/libRSSupport.so'
    }

but it not worked either.....

what should i do?

wasabeef commented 8 years ago

@Rowandjj

What is the version of Android Plugin for Gradle? Please be on 1.5.0 or later.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
parkjaeiek commented 8 years ago

@Rowandjj @wasabeef it is 64bit device error

find issue

https://code.google.com/p/android/issues/detail?id=165545

wasabeef commented 8 years ago

@parkjaeiek

thanks.