有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java断言“终止于std::out_of_range:unordered_map::at:key not found类型的未捕获异常”失败的安卓 studio

我刚开始学习安卓,我试着模仿我的应用程序,结果出现了这个错误

A/libc: /Volumes/Android/buildbot/src/安卓/ndk-r15-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char *, ...): assertion "terminating with uncaught exception of type std::out_of_range: unordered_map::at: key not found" failed
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 16530 (GLThread 994), pid 16455 (atestudio.fally)

idk发生了什么,但我所做的只是添加这一行

abiFilters "armeabi-v7a", "x86", "armeabi", "mips"

还将安卓.useDeprecatedNdk=true添加到gradle.properties

如果我删除该行,就会出现erorr dlopen failed: library "libplayer.so" not found。有人知道怎么解决这个问题吗?我已经在谷歌上搜索过类似的错误,但还没有找到任何有效的方法


共 (0) 个答案