问题标签 [imagedecoder]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
70 浏览

android - Android NDK ImageDecoder 函数需要构建错误

我正在尝试获取 GLES 纹理的 png 文件的字节数据。我在 app\source\main\assets 中有我的 png 文件。

但我得到了以下构建错误:

在 app build.gradle 文件中,我将 minSDKVersion 设置为 30。我想我应该链接一个关于 ImageDecoder 的库或在我的 CMakeLists.txt 中做一些事情。但我不确定。