Comments (5)
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.
+1
from 500px-android-blur.
+1
from 500px-android-blur.
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.
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)
- BlurringView disappears when coming back to an activity. HOT 1
- avoid some RenderScript artifacts at the edge
- java.lang.StackOverflowError: stack size 8MB on line number 65 HOT 3
- [question] Blurring maps HOT 1
- Question: Is it possible to replace a color with another color
- When anim the "mBlurringView" ,the Blur under the mBlurringView will not move?
- crash at the opening of the application HOT 2
- Use isInEditMode()
- Is it possible to use on SurfaceView? HOT 3
- Resources not found in http! HOT 1
- Catch the infinite loop when BlurringView is a child of the view that will be blurred
- how to use in dialog
- java.lang.StackOverflowError: stack size 8MB
- java.lang.ClassNotFoundException: android.support.v8.renderscript.RenderScript HOT 1
- Blurview show question
- Pixelated blur in Android 9
- very good
- When used with Webview it completely erases its contents
- Doesn't seem to work for Android 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 500px-android-blur.