4

Can I use the NDK with the classpath 'com.android.tools.build:gradle:2.0.0-beta5' gradle plugin? Is it included or I should use the experimental plugin? And if so does the experimental support Instant Run and SVG images?

georgeok
  • 4,765
  • 2
  • 34
  • 58

1 Answers1

0
  1. Can I use the NDK with the classpath 'com.android.tools.build:gradle:2.0.0-beta5' gradle plugin?

In your local.properties, specify your ndk.dir right next to your sdk.dir:

sdk.dir=/../android-sdk
ndk.dir=/../android-ndk
  1. Is it included or I should use the experimental plugin? I would stay away from the latest plugins. Always use the latest release plugins. See here: Error:(1, 0) Plugin with id 'com.android.application' not found

classpath 'com.android.tools.build:gradle:2.0.0'

  1. And if so does the experimental support Instant Run and SVG images?

The latest 2.0.0 release supports both insta-run and svg images. For the SVG images, make sure you use compile 'com.android.appcompat-v7:23.3.0'

Community
  • 1
  • 1
Jared Burrows
  • 52,770
  • 23
  • 148
  • 184