React Native升级到0.60.0 Android编译报错:Could not find method enabled() for arguments [[]] on task ':ap...

解决办法

在android/app/build.gradle文件,在

apply from: "../../node_modules/react-native/react.gradle"

之前,添加

project.ext.react = [ entryFile: "index.android.js" ]

你可能感兴趣的:(React Native升级到0.60.0 Android编译报错:Could not find method enabled() for arguments [[]] on task ':ap...)