How do I prepare my app for the 64 bit version for React Native?

前端 未结 2 1314
猫巷女王i
猫巷女王i 2021-01-03 00:04

Here is my build.gradle:

    apply plugin: \"com.android.application\"

import com.android.build.OutputFile

/**
 * The react.gradle file re         


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-03 00:54

    React Native 0.59 fully supports 64-bit Android builds, it already has the needed changes for the Gradle scripts, so there is no need to search for what exactly should one add.

    If you have the possibility to upgrade RN in your project, might just do that using great rn-diff-purge and the helper around it. But keep in mind that some other dependencies might also need to be upgraded to newer versions supporting RN 0.59.

提交回复
热议问题