问题描述:
上午用androidstudio运行和打包的时候是ok的,中间木有改动任何android代码,下午build是ok的,release就compileReleaseJavaWithJavac了,怀疑androidstudio自动升级了。



解决方法:


这个0.39.1就是你的react native版本号
configurations.all {
resolutionStrategy {
force 'com.facebook.react:react-native:0.39.1'
}
}
网友评论