获得"无法找到符号_Z17rsMatrixTranslateP12rs_matrix4x4fff"使用RenderScript支持库? [英] Getting "cannot locate symbol _Z17rsMatrixTranslateP12rs_matrix4x4fff" using the RenderScript Support Library?

查看:242
本文介绍了获得"无法找到符号_Z17rsMatrixTranslateP12rs_matrix4x4fff"使用RenderScript支持库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我的应用程序主要是崩溃运行低于4.4的任何设备上,这就是崩溃日志向我汇报:

so my app is crashing mainly on any device running less than 4.4 and this is what the crash log is reporting to me:

android.support.v8.renderscript.RSRuntimeException: Loading of ScriptC script failed.
at android.support.v8.renderscript.ScriptC.<init>(ScriptC.java:69)
at com.apporio.glitchr.ScriptC_translate.<init>(ScriptC_translate.java:41)
at com.apporio.glitchr.ImageEffects.fastTransform(ImageEffects.java:417)
at com.apporio.glitchr.ImageEffects.doNewVHS(ImageEffects.java:308)
at com.apporio.glitchr.EffectFactory.vhsEffect(EffectFactory.java:70)
at com.apporio.glitchr.EffectFactory.doEffect(EffectFactory.java:28)
at com.apporio.glitchr.EffectActivity$8.run(EffectActivity.java:303)
at java.lang.Thread.run(Thread.java:864)

在它的崩溃在Java中的一点是:

The point in the Java it's crashing at is:

ScriptC_overlay e = new ScriptC_overlay(rs, context.getResources(),
            R.raw.overlay);

将RS文件有这个内核:

The rs file has this kernel:

void root(const uchar4 *v_in, uchar4 *v_out, const void *usrData, uint32_t x, uint32_t y) {

    rs_matrix4x4 matrix;
    rsMatrixLoadIdentity(&matrix);
    rsMatrixTranslate(&matrix, xAmt, yAmt, 0.0f); //CRASH?

有关我的生活,我无法弄清楚什么是错的。任何想法,堆栈溢出?感谢您的帮助!

For the life of me, I can't figure out what's wrong. Any ideas, Stack Overflow? Thanks for the help!

推荐答案

我们曾在不幸的是,支持库中大量缺失的符号。此bug(和其他丢失的符号)都是固定的AOSP的权利,但你必须做的是在使用前要等待一个SDK更新。

We had many missing symbols in the support library unfortunately. This bug (and other missing symbols) are all fixed in AOSP right now, but you will have to wait for an SDK update before making use of it.

这篇关于获得&QUOT;无法找到符号_Z17rsMatrixTranslateP12rs_matrix4x4fff&QUOT;使用RenderScript支持库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆