GithubHelp home page GithubHelp logo

Comments (5)

MSay2 avatar MSay2 commented on May 20, 2024 15

first build.gradle :

// Top-level build file where you can add configuration options common to all sub-projects/modules.

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

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

allprojects {
    repositories {
        jcenter()
        maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
        url 'http://dl.bintray.com/amulyakhare/maven'
    }
}

second build.gradle :

apply plugin: 'com.android.application'

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.0"

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

dependencies {
    compile 'com.fivehundredpx:blurringview:1.0.0'
    compile fileTree(dir: 'libs', include: ['*.jar'])
}

from 500px-android-blur.

noerK avatar noerK commented on May 20, 2024

+1

from 500px-android-blur.

AnisDerbel avatar AnisDerbel commented on May 20, 2024

+1

from 500px-android-blur.

AnisDerbel avatar AnisDerbel commented on May 20, 2024

I found it, you have to add this code in app/build.gradle

`android {
...
defaultConfig {
...
renderscriptTargetApi 20
renderscriptSupportModeEnabled true
}
}

repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}

dependencies {
...
compile project(':react-native-blur')
}

buildscript {
repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}
dependencies {
classpath 'com.fivehundredpx:blurringview:1.0.0'
}
}`

from 500px-android-blur.

tabassumLatif avatar tabassumLatif commented on May 20, 2024

repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}

dependencies {
compile 'com.fivehundredpx:blurringview:1.0.0'
}

from 500px-android-blur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.