简体   繁体   English

Android Gradle实验和RenderScript实现

[英]Android Gradle Experimental & RenderScript implementation

I'm trying to use Gradle Experimental. 我正在尝试使用Gradle Experiment。
As of now I don't seem to find a way to implement RenderScript Support Library that I need for blur effects: 到目前为止,我似乎还没有找到实现模糊效果所需的RenderScript支持库的方法:
https://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apis https://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apis

This is the library I try to use : https://github.com/kikoso/android-stackblur 这是我尝试使用的库: https : //github.com/kikoso/android-stackblur

But since there is no jar or aar, I can't use it. 但是由于没有罐子或罐子,所以我不能使用它。

The Readme of the project says that you have to download it first. 该项目的自述文件说您必须首先下载它。 You can do it cloning the git repo with: git clone https://github.com/kikoso/android-stackblur.git , or you can download it directly from https://github.com/kikoso/android-stackblur/archive/master.zip 您可以使用以下命令克隆git存储库: git clone https://github.com/kikoso/android-stackblur.git ,也可以直接从https://github.com/kikoso/android-stackblur/archive下载/master.zip

After that, you have to import the project from Android Studio, and follow the usage steps of the library. 之后,您必须从Android Studio导入项目,然后按照库的使用步骤进行操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM