renderscript-samples icon indicating copy to clipboard operation
renderscript-samples copied to clipboard

Gradle error

Open codingjeremy opened this issue 6 years ago • 1 comments

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

codingjeremy avatar Sep 05 '19 20:09 codingjeremy

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

codingjeremy avatar Sep 05 '19 20:09 codingjeremy