初始化了一个最新配置的react-native项目,遇到报错信息:
react native Could not resolve org.ow2.asm:asm:6.0
谷歌了一下,找到解决方式,原文地址: https://github.com/flutter/flutter/issues/19719
Adding mavenCentral()
in build.gradle solved for me
buildscript {
repositories {
mavenCentral()
jcenter()
}