I\'ve just upgraded to Android Studio 2.3, which requires all build.gradle\'s use a minimum buildToolsVersion
of 25.0.0
the following setti
I have fixed it by:
1) within build.gradle (app) downgrade to using buildToolsVersion '23.0.3'
2) within build.gradle (project) downgrade to classpath 'com.android.tools.build:gradle:2.1.2'
3) within gradle-wrapper.properties downgrade to gradle 2.10
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
UPDATE June 7th, this also worked:
1) updated to latest Android Studio 2.3.2
2) in A.S., click File -> Project Structure -> make a note of the directory path for "Android NDK location" and open the folder. Step out into the /sdk/ folder and delete the "ndk-bundle" folder. This takes a bit of time because of all the files.
3) back in A.S., remove the "Android NDK location" path -> click OK
4) rebuild the project and deploy without the annoying build error.
UPDATE July 11th: more possible fixes ...
1) update to preview Android Studio 2.4
2) set compileVersion and TargetSdkVersion to 25
With the same basic issue transformNativeLibsWithStripDebugSymbolFor<flavor><type?Debug:Release>
fails
Ending up reinstalling Android Studio, the SDK, and the NDK, and then was finally able to rebuild.