rn0.65及以上版本遇到Could not find com.eightbitlab:blurview:1.6.3

来源:11-4 频道信息组件(下)

zzjove

2022-03-04

可参考https://github.com/Kureev/react-native-blur/issues/446

写回答

1回答

今朝

2022-04-23

因为有时候github很难进,所以我把这个issues复制过来

Or technically, from the time being, we can still keep the jcenter in /android/app/build.gradle until a proper fix released, the reason why RN 0.65 remove it is because jcenter repo will be read-only

allprojects {
    repositories {
        mavenCentral()
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }

        google()
      jcenter()
        maven { url 'https://www.jitpack.io' }
    }
}

因为没法上传照片啦,所以只能粘贴了,注意看那个jcenter()是添加的

0
1
未来可期2020
老师我加了这个没作用
2022-05-10
共1条回复

跨平台应用ReactNative+TypeScript仿喜马拉雅开发App

从入门到实战,掌握用TypeScript开发ReactNative应用

832 学习 · 339 问题

查看课程