HokoBlur BoxBlur.rs文件编译报错 解决办法
buildToolsVersion 修改为对api版本的 “28.0.3” 即可解决报错
compileSdkVersion = 28
targetSdkVersion = 28
buildToolsVersion = "28.0.3" // "29.0.3"
renderscriptTargetApi = 28
renderscriptSupportModeEnabled = true
报错信息
Linking two modules of different target triples: D:\sdk\android_sdk\build-tools\29.0.3\renderscript\lib\bc\x86\libclcore.bc’ is ‘armv7–linux-android’ whereas ‘E:\xxx_app\build\generated\res\rs\debug\raw\bc32\boxblur.bc’ is 'armv7-none-linux-gnueabi’
Execution failed for task ‘:hoko-blur:compileDebugRenderscript’.
java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing process