gpt4 book ai didi

java - rsSendToClient 失败并出现异常

转载 作者:行者123 更新时间:2023-12-01 13:26:31 25 4
gpt4 key购买 nike

“rsSendToClient”失败并出现以下错误:

02-15 04:50:23.102: E/RenderScript(5147): Unable to open shared library (/data/data/com.isssist.magnitab//lib/librs.mono.so): Cannot load library: reloc_library[1306]: 1420 cannot locate '_Z14rsSendToClienti'...
02-15 04:50:23.102: E/RenderScript(5147): Unable to open system shared library (/system/lib/librs.mono.so): (null)

android.support.v8.renderscript.RSRuntimeException: Loading of ScriptC script failed.

 void filter() {  
rsDebug("Number of rows:",rsAllocationGetDimX(gIn));
for (int i = 0; i < rsAllocationGetDimX(gIn); i += 16)
{
const int32_t *element = rsGetElementAt(gIn, i);
//rsDebug("Number of rows:",sizeOf(gIn));

//rsDebug("---------------:",(element[0]));




int lumOne = (element[0]);
lumOne += 128;
pixelData[lumOne]=pixelData[lumOne]+1;

// Bin Second Pixel Value
const int32_t *element2 = rsGetElementAt(gIn, i+2);
int lumTwo = (element2[0]);
lumTwo += 128;
//pixelData[lumTwo]++;
pixelData[lumTwo]=pixelData[lumTwo]+1;


}

rsSendToClient(1);

}

最佳答案

这是一个已知错误。 Getting "cannot locate symbol _Z17rsMatrixTranslateP12rs_matrix4x4fff" using the RenderScript Support Library?是首次报道的地方。我已在 AOSP 中修复了该问题,但 SDK 尚未发布并进行修复。

关于java - rsSendToClient 失败并出现异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21791306/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com