diff --git a/docs/html/guide/topics/renderscript/compute.jd b/docs/html/guide/topics/renderscript/compute.jd index 2e7ce56322244..eef8cda3858de 100644 --- a/docs/html/guide/topics/renderscript/compute.jd +++ b/docs/html/guide/topics/renderscript/compute.jd @@ -185,50 +185,101 @@ precision (such as SIMD CPU instructions).

You can check and update the installed version of these tools in the Android SDK Manager.

-

- Note: Use of Support Library RenderScript APIs is not currently supported with - Android Studio or Gradle-based builds. -

-

To use the Support Library RenderScript APIs in Eclipse:

+

To use the Support Library RenderScript APIs:

  1. Make sure you have the required Android SDK version and Build Tools version installed.
  2. -
  3. Open the {@code project.properties} file in the root folder of your application project.
  4. -
  5. Add the following lines to the file: +
  6. Update the settings for the Android build process to include the RenderScript settings: + +

    For Android Studio or Gradle-based builds

    + +
  7. In your application classes that use RenderScript, add an import for the Support Library classes: +
     import android.support.v8.renderscript.*;
     
    +
  8. -
- -

The {@code project.properties} settings listed above control specific behavior in the Android - build process:

- - +

Using RenderScript from Java Code

diff --git a/docs/html/tools/support-library/features.jd b/docs/html/tools/support-library/features.jd index ee1ed724b94c0..573baad98d838 100644 --- a/docs/html/tools/support-library/features.jd +++ b/docs/html/tools/support-library/features.jd @@ -373,9 +373,8 @@ com.android.support:recyclerview-v7:21.0.0 developer guide.

- Note: Use of RenderScript with the support library is supported with the Android - Eclipse plugin and Ant build tools. It is not currently supported with Android Studio or - Gradle-based builds. + Note: Use of RenderScript with the support library is supported with Android + Studio and Gradle-based builds, as well as the Eclipse plugin and Ant build tools.