首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在targetSDk更改为30之后,对android 11上的本地Android应用程序作出反应

在targetSDk更改为30之后,对android 11上的本地Android应用程序作出反应
EN

Stack Overflow用户
提问于 2021-12-07 22:05:58
回答 1查看 1.1K关注 0票数 1

我将targetSDK版本改为30,以符合游戏商店的要求。该应用程序在发布时立即崩溃。在StackOverflow和GitHub上尝试了所有的解决方案。注意:应用程序在Android 9和更低版本上工作。

我从logcat那里得到的日志,

代码语言:javascript
复制
/SoLoader: couldn't find DSO to load: libjscexecutor.so
E/SoLoader: couldn't find DSO to load: libhermes-executor-release.so
E/GraphResponse: {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '108xxxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api}
A/libc: /Users/willholen/intern/hermes/include/hermes/VM/HermesValue.h:195: static hermes::vm::HermesValue hermes::vm::HermesValue::encodeNativePointer(const void *): assertion "(reinterpret_cast<uintptr_t>(p) & ~kDataMask) == 0 && "Native pointer must contain zeroes in the high bits"" failed
 A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 22840 (mqt_js), pid 22732 (angle.traveller)
EN

回答 1

Stack Overflow用户

发布于 2021-12-09 10:29:21

更新okhttp3,如下所示:

https://stackoverflow.com/a/68744493/7668448

或者你对哨兵的依赖:

https://stackoverflow.com/a/70049868/7668448

基本上,您需要确保更新依赖项并支持目标sdk 30。

您可以在这里看到更多细节:

https://github.com/facebook/react-native/issues/30366

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70267504

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档