Gradle error
Issue by nickgtest
Wednesday Jan 24, 2018 at 22:59 GMT
Originally opened as https://github.com/googlesamples/android-BasicRenderScript/issues/4
Cant compile "compile files('renderscript-v8.jar')" due to missing the file and you have two defaultConfig that will cause problem in the future In the build.gradle file. Please update the gradle file. Thanks
Comment by ducrohet
Tuesday Jan 30, 2018 at 20:04 GMT
compile files('renderscript-v8.jar') is not needed. This file is in the SDK inside the build tools folders, and the Gradle plugin add this to the app classpath automatically.
the other issue is indeed that defaultConfig should not be under android.sourceSets. Just move its content to android.defaultConfig