1

我将 targetSDK 版本更改为 30 以符合 Play 商店。该应用程序在启动时立即崩溃。在 StackOverflow 和 GitHub 上尝试了所有解决方案。注意:应用程序适用于 Android 9 及更低版本。

我从 logcat 获得的日志,

/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)
4

1 回答 1

0

更新 okhttp3 就像下面的答案:

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

或您的哨兵依赖:

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

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

您可以在此处查看更多详细信息:

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

于 2021-12-09T10:29:21.827 回答