React Native 和 Android:64 位,在不更新 React Native 版本的情况下创建 64 位 APK?

ReactNative and Android: 64 bit, Create 64 bit APK without updating react native version?

我目前react native version的项目是0.52.3

但现在我需要创建一个 64 bit APK。所以我在下面找到了一个很棒的博客 link。

https://medium.com/@andriidrozdov/reactnative-and-android-64-bit-new-google-play-market-rules-what-to-do-584b067d6f1a

我可以更新 Gradle,但是更新 react native version 会导致 third party libraries 崩溃。

我是否可以在不更新 react native version 的情况下创建 64 bit APK

您必须将应用程序更新到用于构建 64 位 apk 的版本 0.59。

我了解 react native version 使用它对文件的更改有多大。这是噩梦:)。现在 React 有帮助您更轻松地更新应用程序的有用工具。是upgrade-helper.

所以这是一步一步的:

首先查看发行说明,了解每个版本的 React 的中断如何变化

然后用这个upgrade-helper升级版本。

Note that upgrade bit by bit (increase the version slowly). Remove node_modules then reinstall it when you put the new version in package.json. 

希望对您有所帮助。