add in Build.gradle file : - defaultConfig { renderscriptTargetApi 18 renderscriptSupportModeEnabled true } Add in Activity : - ImageView imageView = (ImageView) findViewById(R.id.imageView); Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.background); Bitmap blurredBitmap = blur(bitmap); imageView.setImageBitmap(blurredBitmap); public Bitmap blur(Bitmap image) { if (null == image) return null; Bitmap outputBitmap = Bitmap.createBitmap(image); final RenderScript renderScript = RenderScript.create(this); Allocation tmpIn = Allocation.createFromBitmap(renderScript, image); Allocation tmpOut = Allocation.createFromBitmap(renderScr...